Server-side LaTeX rendering #5227
Replies: 4 comments 17 replies
-
If MathJax/KaTeX can do that, then it should work within Quarto as long as you configure MathJax/KaTeX to use such feature. Also note that the Math equation feature is from Pandoc as described in https://quarto.org/docs/output-formats/html-basics.html#latex-equations and from Pandoc documentation https://pandoc.org/MANUAL.html#math-rendering-in-html. |
Beta Was this translation helpful? Give feedback.
-
Server side math rendering is indeed not support by Quarto as Pandoc does not support it out of the box. I know of a solution in R that offers KaTeX server side rendering, which a post processor function for HTML document produced by Pandoc I'll convert to a feature request to follow discussion and future work on this. |
Beta Was this translation helpful? Give feedback.
-
Thanks @cderv and @mcanouil! Looking forward to the official implementation. There are some existing Pandoc filters that could do the job. For example, for MathJax the following seem to work well:
By the way, is there a way to globally disable math rendering in Quarto altogether? We are opting for a server-side rendering solution and it seems to have some incompatibility with the existing one. |
Beta Was this translation helpful? Give feedback.
-
Closing in favour of #5229 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Thank you for your great work! The set of features provided by Quarto is very impressive!
We are converting a math heavy website from Jekyll to Quarto, and are surprised to learn that Quarto doesn't support server-side math rendering.
Would it be possible to consider adding this feature?
Both MathJax and KaTeX support server-side rendering for many years now, so hopefully this will not be too complicated to achieve. Another idea could be perhaps using pandoc to parse LaTeX directly.
Thank you in advance for your reply!
Beta Was this translation helpful? Give feedback.
All reactions