polar-bookshelf
polar-bookshelf copied to clipboard
Render mathjax in user authored annotations
Is your feature request related to a problem? Please describe. flashcards made in polar containing mathjax render correctly when imported into anki, however, when displayed as annotations within polar the un-rendered mathjax is almost unreadable.
Describe the solution you'd like Because Polar is an electron app, it shouldn't be too difficult to run mathjax on user annotations since it's just post-processing of a text area --- right?
Describe alternatives you've considered It doesn't have to be mathjax - but mathjax is the standard browser-latex-implementation as far as I can tell. Mathjax is what works with anki so it's the natural choice.
Screenshots
A particularly gnarly bit of latex in a flashcard annotation (unreadable in polar):
The same flashcard successfully imported into anki:
The flashcard correctly rendered by anki (how ideally polar would render the mathjax within the annotation):
We're working on adding native support for mathjax/latex and this will probably come in around the 2.1 timeframe. It's a bit more work because we have to refactor our text editor support.