fix: double slash also supported now for mathjax rendering

This commit is contained in:
Mehak Nasir
2022-09-28 22:42:47 +05:00
committed by Mehak Nasir
parent ab2c031bdc
commit 4e1f3ae2f0

View File

@@ -8,12 +8,14 @@ const baseConfig = {
tex2jax: {
inlineMath: [
['$', '$'],
['\\\\(', '\\\\)'],
['\\(', '\\)'],
['[mathjaxinline]', '[/mathjaxinline]'],
],
displayMath: [
['[mathjax]', '[/mathjax]'],
['$$', '$$'],
['\\\\[', '\\\\]'],
['\\[', '\\]'],
],
},