diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-02-09 14:53:30 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-02-09 14:53:30 -0800 |
commit | 1cdbb896f6d76e67ca81f99de91db0f0eaa8f4d7 (patch) | |
tree | b4db165bb5cbda08ca0f89056e2b09c1b19d1f5e /test/ipynb/simple.out.native | |
parent | ec11f8d9923f7f0f2154e921c97ea8c86b2e17ba (diff) | |
download | pandoc-1cdbb896f6d76e67ca81f99de91db0f0eaa8f4d7.tar.gz |
Added simple ipynb reader/writer tests.
Closes #5274.
Diffstat (limited to 'test/ipynb/simple.out.native')
-rw-r--r-- | test/ipynb/simple.out.native | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/ipynb/simple.out.native b/test/ipynb/simple.out.native new file mode 100644 index 000000000..50b543f9e --- /dev/null +++ b/test/ipynb/simple.out.native @@ -0,0 +1,13 @@ +Pandoc (Meta {unMeta = fromList [("jupyter",MetaMap (fromList [("nbformat",MetaString "4"),("nbformat_minor",MetaString "5")]))]}) +[Div ("",["cell","markdown"],[]) + [Header 1 ("lorem-ipsum",[],[]) [Str "Lorem",Space,Str "ipsum"] + ,Para [Strong [Str "Lorem",Space,Str "ipsum"],Space,Str "dolor",Space,Str "sit",Space,Str "amet,",Space,Str "consectetur",Space,Str "adipiscing",Space,Str "elit.",Space,Str "Nunc",Space,Str "luctus",SoftBreak,Str "bibendum",Space,Str "felis",Space,Str "dictum",Space,Str "sodales."]] +,Div ("",["cell","code"],[]) + [CodeBlock ("",["python"],[]) "print(\"hello\")"] +,Div ("",["cell","markdown"],[]) + [Header 2 ("pyout",[],[]) [Str "Pyout"]] +,Div ("",["cell","code"],[]) + [CodeBlock ("",["python"],[]) "from IPython.display import HTML\nHTML(\"\"\"\n<script>\nconsole.log(\"hello\");\n</script>\n<b>HTML</b>\n\"\"\")"] +,Div ("",["cell","markdown"],[]) + [Header 2 ("image",[],[]) [Str "Image"] + ,Para [Str "This",Space,Str "image",Space,Image ("",[],[]) [Str "the",Space,Str "moon"] ("lalune.jpg",""),Space,Str "will",Space,Str "be",Space,Str "included",Space,Str "as",Space,Str "a",Space,Str "cell",SoftBreak,Str "attachment."]]] |