theme: Render mathematical markup with transform.ToMath

Closes #2897
This commit is contained in:
Joe Mooring authored and Bjørn Erik Pedersen committed 2025-02-14 09:54:02 +01:00
1 parent 14bf9dc700
commit bc16341ca1
3 files changed
+17

No files matched your search

@@ -230,6 +230,8 @@ To use KaTeX instead of MathJax, replace the partial template from [Step 2] with
The delimiters above must match the delimiters in your site configuration.
<!--
## Chemistry
Both MathJax and KaTeX provide support for chemical equations. For example:
@@ -242,6 +244,8 @@ $$C_p[\ce{H2O(l)}] = \pu{75.3 J // mol K}$$
As shown in [Step 2] above, MathJax supports chemical equations without additional configuration. To add chemistry support to KaTeX, enable the mhchem extension as described in the KaTeX [documentation](https://katex.org/docs/libs).
-->
[KaTeX]: https://katex.org/
[LaTeX]: https://www.latex-project.org/
[MathJax]: https://www.mathjax.org/