From a011f508119498cb7d970136ca7d200a6c00048d Mon Sep 17 00:00:00 2001 From: eggy Date: Thu, 28 Jan 2021 21:31:24 -0500 Subject: [PATCH] add mhchem for easier chem formatting to mathjax --- docs/mathjax-config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/mathjax-config.js b/docs/mathjax-config.js index bec7b17..7b0ebca 100644 --- a/docs/mathjax-config.js +++ b/docs/mathjax-config.js @@ -1,5 +1,9 @@ MathJax.Hub.Config({ config: ["MMLorHTML.js"], jax: ["input/TeX", "output/HTML-CSS", "output/NativeMML"], - extensions: ["MathMenu.js", "MathZoom.js"] + extensions: ["MathMenu.js", "MathZoom.js"], + TeX: { + extensions: ["mhchem.js"], + mhchem: {legacy: false} + } });