Attempt to resurrect qomet code - need some rewrite
[qomet.git] / views / withQuestions.pug
... / ...
CommitLineData
1extends layout
2
3block stylesheets
4 link(href="/vendor/prism/prism.css" rel="stylesheet")
5
6block 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')
21 //https://mauriciopoppe.github.io/function-plot/
22 //https://wzrd.in/standalone/function-plot@latest
23 //http://mathjs.org/docs/index.html
24 //https://cdnjs.cloudflare.com/ajax/libs/mathjs/3.20.2/math.min.js