reuseman / flashcards-obsidian

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

Latex star symbol rendered incorrectly? #73

Closed GARLICDOG closed 2 years ago

GARLICDOG commented 2 years ago

Describe the bug When using latex with the * wildcard symbol I get the following render in Obsidian: image

This is with the following latex syntax: $$T=\frac{x_1*x_2}{2}$$

The same syntax is rendered like this in Anki: 2022-01-16__18-00__anki_284

The multiplier symbol is rendered like this in every equation. If that's any help I previously used Pseudonium's addon, I assume it uses a different way to render Latex syntax but the star symbol worked there correctly.

To Reproduce

Expected behavior Star symbol in equations should render with the normal color (black) and without the backslash.

Markdown used

---
cards-deck: Obsidian
---

# test
#card 
$$T=\frac{x_1*x_2}{2}$$
^1642352814157

Additional context I have quite a few other addons in case this is working for others I can list those if that provides any clue.

github-actions[bot] commented 2 years ago

Thank you for taking the time to report the issue and help me to make the project better! 🙂

reuseman commented 2 years ago

Now it should be fixed