cadrianxyz / obsidian-auto-anki

Using AI to automate card creation for Spaced Repetion in Anki
MIT License
41 stars 10 forks source link

Embedded LaTeX formatting not the same in Anki #14

Open joshbroa opened 1 year ago

joshbroa commented 1 year ago

In obsidian markdown, LaTeX math can be embedded by enclosing the LaTeX statements in '$' symbols: \$ LaTeX math syntax goes here \$

Or, for multiple lines, it can be enclosed by two '\$\$' symbols: \$\$ LaTeX math syntax can go here Or here \$\$

The problem is that this is not the same in Anki. In Anki, I find the easiest way is to enclose the LaTeX syntax with \( and \). For example: \(LaTeX math syntax goes here\)

I am suggesting the addition of a setting which when turned on, formats the output text of the questions and answers so that enclosing '\$' or '\$\$' symbols are replaced by enclosing \( and \) symbols.