Integration of Mathjax and JadeJS
问题 I have a problem integrating Mathjax and Jade in Express. I need to show formulas inside a 'pre', so I am trying to configure Mathjax through a script. This is my code: script(type="text/x-mathjax-config") MathJax.Hub.Config({ tex2jax: { inlineMath: [['$','$'], ['\\(','\\)']], skipTags: ["script","noscript","style","textarea","code"] } }); My problem is that when I try to see the page it throws this error: SyntaxError: Unexpected token { at Object.Function (unknown source) at Object.exports