JupyterLab Markdown

What flavor of Markdown is used by JupyterLab?

1 Like

With the default renderer, JupyterLab uses the GFM mode of marked with several extensions:

  • $ and $$ wrap MathJax, and have further, independent configuration
  • as of JupyterLab 4.1, mermaidjs diagrams may be created with fenced code blocks, e.g.
    ```mermaid
    

Aside from the LaTeX settings, there aren’t a lot of configuration points. However, one can choose to install an extension which will replace marked.

The python side output of nbconvert (from the Download as… menu) uses mistune and may use pandoc as an intermediate, depending on the output format.

5 Likes

Thanks. I had no idea that Mermaid was there just waiting to
be invoked.

1 Like