summaryrefslogtreecommitdiff
path: root/gen_md.py
diff options
context:
space:
mode:
authorrusinthread <rusinthread@cock.li>2017-01-06 20:21:03 +0300
committerrusinthread <rusinthread@cock.li>2017-01-06 20:21:03 +0300
commit5a1b182040d4ee73a32125f9f6d722664c0c6799 (patch)
treeb15e8392984165eb5e7bf7a2dbd7810691b277cc /gen_md.py
parent86af59be43f19cc612de9a13d1de6a0c03d7102f (diff)
update md
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)