- [ x] I have searched for existing issues that already reported this problem and found none
- [ x] The bug for the VSCode plugin
- [ x] The bug is also present in the web version of VSCode or GitHub Codespaces
Describe the bug
chemistry formular $\ce{N2 + 3H2 ->[Fe] 2NH3}$ cause problem
To Reproduce
---
markmap:
extraJs:
- npm:katex/dist/contrib/mhchem.min.js
---
- katex
- $x = {-b \pm \sqrt{b^2-4ac} \over 2a}$
- $\ce{N2 + 3H2 ->[Fe] 2NH3}$
Expected behavior
just like behavior in https://markmap.js.org/repl#?d=gist:af76a4c245b302206b16aec503dbe07b:katex.md
Actual behavior
will display :ParseError: KaTeX parse error: Undefined control sequence: \ce
Environment:
Additional context