From 5a1b182040d4ee73a32125f9f6d722664c0c6799 Mon Sep 17 00:00:00 2001 From: rusinthread Date: Fri, 6 Jan 2017 20:21:03 +0300 Subject: update md --- gen_md.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gen_md.py') diff --git a/gen_md.py b/gen_md.py index dbf44a2..eda2cb9 100755 --- a/gen_md.py +++ b/gen_md.py @@ -53,7 +53,7 @@ def main(): pic_buf = [] for p in pic: pic_buf.append('![](./img_previews/%s =300x)' % p) - post_buf += '**Пикрилейтед:** %s\n\n' % ''.join(pic_buf) + post_buf += '**Пикрилейтед:**\n\n%s\n\n' % ''.join(pic_buf) if 'link' in post: # make sure it is a list @@ -71,7 +71,7 @@ def main(): else: post_buf += '\n\n' - post_buf += '**Шифровка (тип %d)**: \n```\n%s\n```\n\n' % (cipher_type, post['text']) + post_buf += '**Шифровка (тип %d)**: `%s`\n\n' % (cipher_type, post['text']) post_buf += '**Расшифровка:** `%s`' % decoded_text buf.append(post_buf) -- cgit v1.2.3