summaryrefslogtreecommitdiff
path: root/gen_md.py
diff options
context:
space:
mode:
Diffstat (limited to 'gen_md.py')
-rwxr-xr-xgen_md.py4
1 files changed, 2 insertions, 2 deletions
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)