diff options
author | rusinthread <rusinthread@cock.li> | 2017-01-06 20:29:28 +0300 |
---|---|---|
committer | rusinthread <rusinthread@cock.li> | 2017-01-06 20:29:28 +0300 |
commit | 39f11d05bc164be556379392b27cf2bb1637e31f (patch) | |
tree | 9109f9f3013f89ed66d706730c0ee4d78fcae7e2 /gen_md.py | |
parent | f500a1300aa9c051bc1e83323ea4ffc2b6885389 (diff) |
update md
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) |