diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-12-06 23:39:08 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-12-06 23:40:51 -0800 |
commit | 51142c6803cab7486dbe962f274174d246e571aa (patch) | |
tree | 104627f744bcb738cdec5fd1956bc88330f57edb /test/ipynb/simple.out.native | |
parent | 72075423d08e7cd2052f5325a17d52fc1d7682b3 (diff) | |
download | pandoc-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.native | 10 |
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\"]" ) ] ) |