reuseman / flashcards-obsidian

🎴 An Anki plugin for Obsidian.md
MIT License
872 stars 86 forks source link

Latex `*` gets replaced with `<em>` #157

Open Schabolon opened 1 year ago

Schabolon commented 1 year ago

Describe the bug Latex/Mathjax containing two *-symbols doesn't get generated correctly.

To Reproduce

Expected behavior In latex * should not be replaced with <em>

Markdown used

$$
\begin{align*}
test
\end{align*}
$$
front #card
back

Additional context Ankicard (only Mathjax):

\begin{align<em>}
test
\end{align</em>}