We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sometimes Jupyter needs to have complex cell attributes like in celltags extension (that would be merged into jupyterlab in the near future):
{ "tags": [ "test", "main" ] }
But there is no info in Creating Jupyter notebooks with pandoc section of Pandoc manual on how to add such cell metadata.
If it's possible to do then this issue is about adding info how to do it to the manual.
If it's not possible to do then this issue is about adding such functionality to Pandoc.
UPD: this actually adds metadata to the output ipynb document:
``` {.python .cell .code dic="{\"main\":\"2\",\"test\":\"1\"}" tags="[\"test\",\"main\"]"} import pandas as pd import numpy as np df = pd.DataFrame(np.random.random(16).reshape(4, 4)) df ``` Title ===== Text and tbl. 2
and corresponds to the following Cell Metadata:
{ "tags": [ "test", "main" ], "dic": { "test": "1", "main": "2" } }
The text was updated successfully, but these errors were encountered:
By the way. The way cell metadata is stored can be more user-friendly: store json in yaml. Like in this example:
::: {.cell .markdown .cellmeta} ```yaml slideshow: slide_type: slide ``` # Header * list * list :::
Or
::: {.cell .code .cellmeta} ```yaml slideshow: slide_type: slide ``` ```python print(123) ``` :::
.cellmeta class means that the first yaml code block inside div stores cell metadata.
.cellmeta
Sorry, something went wrong.
No branches or pull requests
Sometimes Jupyter needs to have complex cell attributes like in celltags extension (that would be merged into jupyterlab in the near future):
But there is no info in Creating Jupyter notebooks with pandoc section of Pandoc manual on how to add such cell metadata.
If it's possible to do then this issue is about adding info how to do it to the manual.
If it's not possible to do then this issue is about adding such functionality to Pandoc.UPD: this actually adds metadata to the output ipynb document:
and corresponds to the following Cell Metadata:
The text was updated successfully, but these errors were encountered: