zjosua / anki-mc

Multiple choice questions for Anki.
https://ankiweb.net/shared/info/1566095810
GNU Affero General Public License v3.0
49 stars 16 forks source link

Mathjax support #125

Closed a-starry-night closed 7 months ago

a-starry-night commented 7 months ago

Hi, I'm kind of new to Anki templates and wondered if it is normal that custom card templates don't support Mathjax. I just used it as I would normally and it seems to get ignored but i also don't know how to fix that myself - otherwise i would have done so. Would be nice if anyone could explain that to me since i can't really find anything on that. An example would be me trying to write M2 like this \(M_2\) and the Preview then displaying it as is like here: grafik kind regards

3ter commented 7 months ago

There should be no restrictions. Formulae are replaced while editing. If that's not the case for you it could be that another addon is interfering. image image

a-starry-night commented 7 months ago

Thanks for your quick reply :D I deleted the plugin that this repo is based on (which I had already deactived so idk if that could've still be influencing the Mathjax-generation), restarted anki, tried to recreate your integral and now it somehow started working! I really don't know what the problem was but it's gone so thanks a lot!

3ter commented 7 months ago

That's good to hear, I'm closing the issue.

As a side note: This addon "only" adds a template (or updates an existing one). So there is no actual function beside that so there should be no need to deactivate it or else.