aboutsummaryrefslogtreecommitdiff
path: root/test/ipynb/simple.out.native
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-12-06 23:39:08 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2021-12-06 23:40:51 -0800
commit51142c6803cab7486dbe962f274174d246e571aa (patch)
tree104627f744bcb738cdec5fd1956bc88330f57edb /test/ipynb/simple.out.native
parent72075423d08e7cd2052f5325a17d52fc1d7682b3 (diff)
downloadpandoc-51142c6803cab7486dbe962f274174d246e571aa.tar.gz
Ipynb reader & writer: properly handle cell "id".
This is passed through if it exists (in Nb4); otherwise the writer will add a random one so that cells all have an "id". Closes #7728.
Diffstat (limited to 'test/ipynb/simple.out.native')
-rw-r--r--test/ipynb/simple.out.native10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/ipynb/simple.out.native b/test/ipynb/simple.out.native
index 0f243ca48..a17c36a41 100644
--- a/test/ipynb/simple.out.native
+++ b/test/ipynb/simple.out.native
@@ -12,7 +12,7 @@ Pandoc
]
}
[ Div
- ( "" , [ "cell" , "markdown" ] , [] )
+ ( "uid1" , [ "cell" , "markdown" ] , [] )
[ Header
1
( "lorem-ipsum" , [] , [] )
@@ -46,13 +46,13 @@ Pandoc
]
]
, Div
- ( "" , [ "cell" , "code" ] , [] )
+ ( "uid2" , [ "cell" , "code" ] , [] )
[ CodeBlock ( "" , [ "python" ] , [] ) "print(\"hello\")" ]
, Div
- ( "" , [ "cell" , "markdown" ] , [] )
+ ( "uid3" , [ "cell" , "markdown" ] , [] )
[ Header 2 ( "pyout" , [] , [] ) [ Str "Pyout" ] ]
, Div
- ( ""
+ ( "uid4"
, [ "cell" , "code" ]
, [ ( "execution_count" , "2" ) ]
)
@@ -70,7 +70,7 @@ Pandoc
]
]
, Div
- ( ""
+ ( "uid6"
, [ "cell" , "markdown" ]
, [ ( "tags" , "[\"foo\",\"bar\"]" ) ]
)