feature: added partials containing script tags sourcing and configuring JS renderers
This commit is contained in:
15
themes/sukaato/layouts/partials/math.html
Normal file
15
themes/sukaato/layouts/partials/math.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<script id="mathjax" async src="https://cdn.jsdelivr.net/npm/mathjax@4/tex-mml-chtml.js"></script>
|
||||
<script>
|
||||
MathJax = {
|
||||
tex: {
|
||||
displayMath: [['\\[', '\\]'], ['$$', '$$']], // block
|
||||
inlineMath: [['$', '$']] // inline
|
||||
},
|
||||
loader: {
|
||||
load: ['ui/safe']
|
||||
},
|
||||
output: {
|
||||
font: 'mathjax-asana'
|
||||
}
|
||||
};
|
||||
</script>
|
||||
Reference in New Issue
Block a user