pandoc
$ brew install pandoc
code:py
ast = json.loads(pypandoc.convert_file("2-0-....md", "json"))
code:py
{'t': 'Header',
'c': [1,
['information-technology-and-democracy-a-widening-gulf', [], []],
[{'t': 'Str', 'c': 'Information'},
{'t': 'Space'},
{'t': 'Str', 'c': 'Technology'}, ...
code:py
{'t': 'BlockQuote',
'c': [{'t': 'Para',
'c': [{'t': 'Quoted',
'c': [{'t': 'DoubleQuote'},
[{'t': 'Str', 'c': 'Surveillance'},
{'t': 'Space'},
{'t': 'Str', 'c': 'capitalism'}, ...
https://gyazo.com/e26fb1a2df3aa918e541764034223da9