05e7823
1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/python2 import json import markdown import sys o = json.loads(sys.stdin.read()) l = o[0] print(l['content'].encode('utf-8')) if 'author' in l: print('') print((u'---' + l['author']).encode('utf-8'))