jupyter-book / jupyterlab-myst

Use MyST Markdown directly in Jupyter Lab
https://jupyter-book.github.io/jupyterlab-myst/
BSD 3-Clause "New" or "Revised" License
141 stars 16 forks source link

Markdown Viewer: Default setting removes frontmatter #146

Open rowanc1 opened 1 year ago

rowanc1 commented 1 year ago

In JupyterLab the default setting automatically removes the frontmatter before sending it to the renderer. We should warn about this setting.

To turn it off: image

When it is enabled, the frontmatter cannot be accessed by the renderer, and we ideally don't want to take over too many responsibilities, and so are inheriting this behaviour from the default markdown viewer. image

krassowski commented 1 month ago

FYI extensions can change settings when enabled. This is for example what jupyterlab-execute-time does to enable timing metadata in notebook (here).