diff --git a/src/components/vue-mathjax.vue b/src/components/vue-mathjax.vue index b6e629e..0bb77e3 100644 --- a/src/components/vue-mathjax.vue +++ b/src/components/vue-mathjax.vue @@ -41,8 +41,8 @@ export default { if (window.MathJax) { window.MathJax.Hub.Config({ tex2jax: { - inlineMath: [['$', '$'], ['(', ')']], - displayMath: [['$$', '$$'], ['[', ']']], + inlineMath: [['$', '$'], ['\\(', '\\)']], + displayMath: [['$$', '$$'], ['\\[', '\\]']], processEscapes: true, processEnvironments: true },