Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added KaTeX widget, and MathJax compatibility layer #190

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

wilbowma
Copy link
Contributor

Added a KaTeX widget. Unfortunately, KaTeX and MathJax have different APIs, and Markdown only knows about MathJax. If you want to use LaTeX inline in Markdown, then you'll need to use the MathJax compatibility layer. If you use inline HTML to use KaTeX directly, this isn't necessary.

@wilbowma
Copy link
Contributor Author

Also, MathJax and KaTeX aren't 100% compatible, so you may not always be able to use KaTeX. I also haven't been able to test this thoroughly.

@wilbowma
Copy link
Contributor Author

Maybe be worth holding off on this, as this compatibility layer is being improved and merged into KaTeX KaTeX/KaTeX#680

@greghendershott
Copy link
Owner

@wilbowma Ah -- nice!

@avelino
Copy link
Contributor

avelino commented Sep 7, 2018

Great feature, we need to review the implementation (pull with master branch)

@wilbowma
Copy link
Contributor Author

wilbowma commented Sep 10, 2018

Oh thanks for the reminder. Yeah, this compatibility later got merged upstream. I'll have to take another look at the patch and test it. Unfortunately, I've got little time until late November.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants