#345·markmap

[BUG] Katex syntax not rendered when inside an HTML element

Author: eyssetteCreated Jan 27, 2026Updated Jan 27, 2026
Labelsbug
  • [ x] I have searched for existing issues that already reported this problem and found none
  • [ x] The bug is present in REPL

Describe the bug

To Reproduce

markdown
# <span>$x+2$</span>

https://markmap.js.org/repl#?d=gist%3A74942d615cedceb87ac3885579069dfe%3A6f437c91f75f59c5423be4c914c1ed72df3b0d8b%2Ftest.md

Expected behavior

Image

Actual behavior

Image

Environment:

  • OS: Ubuntu
  • Browser: Brave
  • Browser Version: 1.86.142

Additional context

Thanks again for your wonderful application!