Commit | Line | Data |
---|---|---|
e99c53fb BA |
1 | extends layout |
2 | ||
3 | block stylesheets | |
4 | link(href="/vendor/prism/prism.css" rel="stylesheet") | |
5 | ||
6 | block javascripts | |
7 | script(src="/vendor/prism/prism.js") | |
8 | script. | |
9 | Prism.plugins.autoloader.languages_path = '/vendor/prism/components'; | |
10 | script(type="text/x-mathjax-config"). | |
11 | MathJax.Hub.Config({ | |
12 | extensions: ["tex2jax.js"], | |
13 | jax: ["input/TeX", "output/SVG"], | |
14 | tex2jax: { | |
15 | inlineMath: [ ['$','$'] ], | |
16 | displayMath: [ ['$$','$$'] ], | |
17 | processEscapes: true | |
18 | }, | |
19 | }); | |
20 | script(src='//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js') |