2021-09-19 21:09:51 +02:00
|
|
|
Pandoc
|
2021-09-29 06:17:53 +02:00
|
|
|
Meta
|
|
|
|
{ unMeta =
|
|
|
|
fromList
|
|
|
|
[ ( "jupyter"
|
|
|
|
, MetaMap
|
|
|
|
(fromList
|
|
|
|
[ ( "nbformat" , MetaString "4" )
|
|
|
|
, ( "nbformat_minor" , MetaString "5" )
|
|
|
|
])
|
|
|
|
)
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
}
|
|
|
|
[ Div
|
2021-12-07 08:39:08 +01:00
|
|
|
( "uid1" , [ "cell" , "markdown" ] , [] )
|
2021-09-29 06:17:53 +02:00
|
|
|
[ 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."
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
|
|
|
, Div
|
2021-12-07 08:39:08 +01:00
|
|
|
( "uid2" , [ "cell" , "code" ] , [] )
|
2021-09-29 06:17:53 +02:00
|
|
|
[ CodeBlock ( "" , [ "python" ] , [] ) "print(\"hello\")" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Div
|
2021-12-07 08:39:08 +01:00
|
|
|
( "uid3" , [ "cell" , "markdown" ] , [] )
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Header 2 ( "pyout" , [] , [] ) [ Str "Pyout" ] ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Div
|
2021-12-07 08:39:08 +01:00
|
|
|
( "uid4"
|
2021-09-29 06:17:53 +02:00
|
|
|
, [ "cell" , "code" ]
|
|
|
|
, [ ( "execution_count" , "2" ) ]
|
2021-09-19 21:09:51 +02:00
|
|
|
)
|
2021-09-29 06:17:53 +02:00
|
|
|
[ CodeBlock
|
|
|
|
( "" , [ "python" ] , [] )
|
|
|
|
"from IPython.display import HTML\nHTML(\"\"\"\n<script>\nconsole.log(\"hello\");\n</script>\n<b>HTML</b>\n\"\"\")"
|
|
|
|
, Div
|
|
|
|
( ""
|
|
|
|
, [ "output" , "execute_result" ]
|
|
|
|
, [ ( "execution_count" , "2" ) ]
|
|
|
|
)
|
|
|
|
[ RawBlock
|
|
|
|
(Format "html")
|
|
|
|
"<script>\nconsole.log(\"hello\");\n</script>\n<b>HTML</b>\nhello"
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
|
|
|
, Div
|
2021-12-07 08:39:08 +01:00
|
|
|
( "uid6"
|
2021-09-29 06:17:53 +02:00
|
|
|
, [ "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."
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
|
|
|
]
|