mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-02 21:55:44 +00:00
This improves support for notebook-like org files that are intended to be used with emacs-jupyter package. Closes: #8236
16 lines
404 B
Markdown
16 lines
404 B
Markdown
```
|
|
% 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"
|
|
]
|
|
```
|