aboutsummaryrefslogtreecommitdiff
path: root/test/ipynb/simple.in.native
blob: 67d0b52f22b962ae690ed00a26dcb9fbe7d2de08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Pandoc (Meta {unMeta = fromList [("jupyter",MetaMap (fromList [("nbformat",MetaInlines [Str "4"]),("nbformat_minor",MetaInlines [Str "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."]]]