jupyterlab/jupyter-renderers

[KaTeX] Math is not rendered in "code" cell outputs.

SubtleMuffin opened this issue · 1 comments

Description

The math is not rendered in "code" cell outputs, for example,

katex

Reproduce

As described in the screenshot.

Expected behavior

Math is expected to be rendered correctly. If this plugin is disabled (MathJax is the rendering engine), everything works fine.

mathjax

Context

  • Operating System and version: Debian 10
  • Browser and version: Chrome 89
  • JupyterLab version: Jupyter Lab version 3.0.12
Troubleshoot Output
N/A
Command Line Output
N/A
Browser Output
N/A

I've a similar problem when trying to render a pandas dataframe with math environments in it:
Its ok if I just render it via ipython display:
mathjax_table_bug_2
but not if I try to render it as Markdown:
mathjax_table_bug
Unfortunately I need the second method for the pdf export, because the first method doesn't produce a table latex environment but a Verbatim.

Edit:
I maybe missed the topic, but maybe its the same cause. I got this problems with enabling MathJax3 extension not with KaTeX