@@ -13,7 +13,7 @@ export const MathJax2 = () => {
messageStyle: 'none',
tex2jax: {
inlineMath: [ [ '$', '$' ], [ '\\(', '\\)' ] ],
- skipTags: [ 'script', 'noscript', 'style', 'textarea', 'pre' ]
+ skipTags: [ 'script', 'noscript', 'style', 'textarea', 'pre', 'code' ]
},
skipStartupTypeset: true
};
@@ -15,7 +15,7 @@ export const MathJax3 = () => {
inlineMath: [ [ '$', '$' ], [ '\\(', '\\)' ] ]
options: {
- skipHtmlTags: [ 'script', 'noscript', 'style', 'textarea', 'pre' ]
+ skipHtmlTags: [ 'script', 'noscript', 'style', 'textarea', 'pre', 'code' ]
startup: {
ready: () => {