diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ipynb/simple.in.native | 2 | ||||
-rw-r--r-- | test/ipynb/simple.ipynb | 7 | ||||
-rw-r--r-- | test/ipynb/simple.out.native | 2 |
3 files changed, 8 insertions, 3 deletions
diff --git a/test/ipynb/simple.in.native b/test/ipynb/simple.in.native index 67d0b52f2..b41400195 100644 --- a/test/ipynb/simple.in.native +++ b/test/ipynb/simple.in.native @@ -8,6 +8,6 @@ Pandoc (Meta {unMeta = fromList [("jupyter",MetaMap (fromList [("nbformat",MetaI [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"],[]) +,Div ("",["cell","markdown"],[("tags","[\"foo\",\"bar\"]")]) [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."]]] diff --git a/test/ipynb/simple.ipynb b/test/ipynb/simple.ipynb index fdbc709e2..d9f805fb1 100644 --- a/test/ipynb/simple.ipynb +++ b/test/ipynb/simple.ipynb @@ -45,7 +45,12 @@ }, { "cell_type": "markdown", - "metadata": {}, + "metadata": { + "tags": [ + "foo", + "bar" + ] + }, "source": [ "Image\n", "-----\n", diff --git a/test/ipynb/simple.out.native b/test/ipynb/simple.out.native index 50b543f9e..ea96b5917 100644 --- a/test/ipynb/simple.out.native +++ b/test/ipynb/simple.out.native @@ -8,6 +8,6 @@ Pandoc (Meta {unMeta = fromList [("jupyter",MetaMap (fromList [("nbformat",MetaS [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"],[]) +,Div ("",["cell","markdown"],[("tags","[\"foo\",\"bar\"]")]) [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."]]] |