-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
Description
Problem
org -> ipynb is seemingly unable to handle usage of ""
in the header args of a src-block, e.g. the following works just fine:
#+begin_src jupyter-julia :exports both
1 + 2
#+end_src
resulting in
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"exports": "both"
},
"outputs": [],
"source": [
"1 + 2\n"
],
"id": "a2b36dc3-128b-4f98-a97f-0ff4b4a9ba0f"
}
],
"nbformat": 4,
"nbformat_minor": 5,
"metadata": {}
}
But if I do
#+begin_src jupyter-julia :exports "both"
1 + 2
#+end_src
then we get an empty notebook:
{
"cells": [],
"nbformat": 4,
"nbformat_minor": 5,
"metadata": {}
}
So it seems like something strange is going on when parsing the header args. Just for the record, usage of "" is completely valid Org format.
Pandoc version?
pandoc 3.1.2
Features: +server +lua
Scripting engine: Lua 5.4