diff options
Diffstat (limited to 'gen_md.py')
-rwxr-xr-x | gen_md.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -52,7 +52,7 @@ def main(): pic_buf = [] for p in pic: - pic_buf.append('![](./img_previews/%s =300x)' % p) + pic_buf.append('[./img/%s](![](./img_previews/%s))' % (p, p)) post_buf += '**Пикрилейтед:**\n\n%s\n\n' % ''.join(pic_buf) if 'link' in post: @@ -76,7 +76,7 @@ def main(): buf.append(post_buf) - md = "\n\n---------\n\n".join(buf) + md = "\n\n\n\n---------\n\n\n\n".join(buf) with open(os.path.join(CWD, 'data.md'), 'w') as f: f.write(md) |