Skip to content

Added KaTeX widget, and MathJax compatibility layer#190

Open
wilbowma wants to merge 3 commits intogreghendershott:masterfrom
wilbowma:master
Open

Added KaTeX widget, and MathJax compatibility layer#190
wilbowma wants to merge 3 commits intogreghendershott:masterfrom
wilbowma:master

Conversation

@wilbowma
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Owner

@wilbowma Ah -- nice!

@avelino
Copy link
Copy Markdown
Contributor

avelino commented Sep 7, 2018

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

@wilbowma
Copy link
Copy Markdown
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