On Tuesday, January 27, 2015 at 9:00:20 PM UTC+1, Phillip Smith wrote:
[….]
I'd be curious to see an example of the "pandoc JSON" if you could point me to one (and/or your python prototype).
You can “live”-produce one yourself in a terminal window with the help of pandoc
, using simple Markdown input:
kp@mbp> pandoc -t json
# Headline
Paragraph.
List:
1. One
1. Two
^D
[{"unMeta":{}},[{"t":"Header","c":[1,["headline",[],[]],[{"t":"Str","c":"Headline"}]]},{"t":"Para","c":[{"t":"Str","c":"Paragraph."}]},{"t":"Para","c":[{"t":"Str","c":"List:"}]},{"t":"OrderedList","c":[[1,{"t":"Decimal","c":[]},{"t":"Period","c":[]}],[[{"t":"Plain","c":[{"t":"Str","c":"One"}]}],[{"t":"Plain","c":[{"t":"Str","c":"Two"}]}]]]}]]