diff options
-rw-r--r-- | resources/scala-ref-template.html5 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/resources/scala-ref-template.html5 b/resources/scala-ref-template.html5 index 33d6b26ef8..424170d3d8 100644 --- a/resources/scala-ref-template.html5 +++ b/resources/scala-ref-template.html5 @@ -26,6 +26,15 @@ $endif$ $for(css)$ <link rel="stylesheet" href="$css$"> $endfor$ + <script type="text/x-mathjax-config"> + MathJax.Hub.Config({ + tex2jax: { + skipTags: ["script", "noscript", "style", "textarea"], + inlineMath: [ ["$$", "$$"], ["\\(", "\\)"] ], + processEscapes: true + } + }); + </script> $if(math)$ $math$ $endif$ |