Jupyter/IPython notebook inline math in bullet points not rendered with katex

Summary

Inline math inside a jupyter/ipython notebook is not rendered with katex when the inline formula is part of a enumeration/bullet point list

Steps to reproduce

  • Create a ipython notebook
  • Add a cell with markdown
  • Add a inline math formula using single $ part of a bullet list
  • Upload the notebook to gitlab
  • try to view the notebook in gitlab

Example markdown

### Cell 1 inline Math examples simple

Inline Math with single `$` ticks $a + b = c$ inside a block

- Inline Math with single `$` ticks $a + b = c$ inside bullet list using `-`

Padding

* Inline Math with single `$` ticks $a + b = c$ inside an bullet list using `*`

Padding

1. Inline Math with single `$` ticks $a + b = c$ inside an enumeration using `1.`

Example Project

https://gitlab.com/NeroBurner/ipython_katex_test/-/blob/master/ipython_inline_math_examples.ipynb

What is the current bug behavior?

Math in bullet list not rendered on gitlab as follows

gitlab rendered

What is the expected correct behavior?

Rendered math in bullet lists in jupyter notebook

jupyter notebook

Relevant logs and/or screenshots

Output of checks

This bug happens on GitLab.com

Possible fixes

katex rendering is done in markdown.vue