You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RISE is a very useful extension to Jupyter Notebook that allows presenting notebooks directly in the form of Reveal.JS slides.
Now, when converting such notebooks to Markdown, cells that directly contain RISE-specific meta-data like slide and sub_slide result in Markdown that is incompatible with Pandoc`s fenced div syntax:
```python slideshow={"slide_type": "subslide"}
for i in range(3):
print(i)
```
However, this extra meta-data slideshow={"slide_type": "subslide"} is not Pandoc Markdown syntax, and it would be more useful to translate it into something like:
```{.python slideshow="\{\"slide_type\": \"subslide\"\}"}
for i in range(3):
print(i)
```
Hi @mfhepp , do I understand correctly that you are looking for Pandoc's markdown representation of notebooks?
If so, did you try to pair your notebook with the md:pandoc format, rather than with the default md format?
RISE is a very useful extension to Jupyter Notebook that allows presenting notebooks directly in the form of Reveal.JS slides.
Now, when converting such notebooks to Markdown, cells that directly contain RISE-specific meta-data like
slide
andsub_slide
result in Markdown that is incompatible with Pandoc`s fenced div syntax:Example:
This cell
creates the following Markdown:
However, this extra meta-data
slideshow={"slide_type": "subslide"}
is not Pandoc Markdown syntax, and it would be more useful to translate it into something like:or, cleaner, as a Pandoc nested fenced div with attributes, like so:
A similar problem exists with RISE Speaker Notes. In the notebook, they look like so:
The conversion turns them into
While this does not break the layout, the type of the content is not accessible to Pandoc filters (at least not easily).
IMO, it would be better to represent them as
/CC @tarleb
The text was updated successfully, but these errors were encountered: