jupyter-renderers icon indicating copy to clipboard operation
jupyter-renderers copied to clipboard

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

Open SubtleMuffin opened this issue 4 years ago • 1 comments
trafficstars

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

SubtleMuffin avatar Mar 25 '21 23:03 SubtleMuffin

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

GonerGenesis avatar May 12 '21 06:05 GonerGenesis