diff --git a/src/components/HTMLLoader.jsx b/src/components/HTMLLoader.jsx index 1fe7d661..851ce87d 100644 --- a/src/components/HTMLLoader.jsx +++ b/src/components/HTMLLoader.jsx @@ -8,12 +8,14 @@ const baseConfig = { tex2jax: { inlineMath: [ ['$', '$'], + ['\\\\(', '\\\\)'], ['\\(', '\\)'], ['[mathjaxinline]', '[/mathjaxinline]'], ], displayMath: [ ['[mathjax]', '[/mathjax]'], ['$$', '$$'], + ['\\\\[', '\\\\]'], ['\\[', '\\]'], ], },