aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorAlbert Krewinkel <[email protected]>2022-08-21 21:44:41 +0200
committerAlbert Krewinkel <[email protected]>2022-08-21 21:53:33 +0200
commit5d6616608858e60641676a7fa76a87f9516d477d (patch)
tree4fadfb1a339ad4b08e05bbf692858b0ac45d14fb /test/command
parente483bc9ff7b19f5db7fb6b5dd1947e33ec35a5ce (diff)
Org reader: treat *emacs-jupyter* src blocks as code cells.
This improves support for notebook-like org files that are intended to be used with emacs-jupyter package. Closes: #8236
Diffstat (limited to 'test/command')
-rw-r--r--test/command/8236.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/command/8236.md b/test/command/8236.md
new file mode 100644
index 000000000..f8c70a715
--- /dev/null
+++ b/test/command/8236.md
@@ -0,0 +1,15 @@
+```
+% pandoc -f org -t native
+ #+begin_src jupyter-python :session py :display plain
+ import pandas as pd
+ df = pd.read_csv('weight.csv', parse_dates=['Date'], index_col=0)
+ #+end_src
+^D
+[ CodeBlock
+ ( ""
+ , [ "python" , "code" ]
+ , [ ( "session" , "py" ) , ( "display" , "plain" ) ]
+ )
+ "import pandas as pd\ndf = pd.read_csv('weight.csv', parse_dates=['Date'], index_col=0)\n"
+]
+```