Move mathjax javascript into additional file

This commit is contained in:
2025-05-25 10:48:21 +02:00
parent b8530bc227
commit 068f0fb44c
2 changed files with 7 additions and 8 deletions

6
custom.js Normal file
View File

@@ -0,0 +1,6 @@
window.MathJax = {
tex: {
tags: 'ams'
}
};

View File

@@ -24,14 +24,7 @@ format:
pagetitle: "De-Fence" pagetitle: "De-Fence"
html-math-method: mathjax html-math-method: mathjax
include-in-header: include-in-header:
- text: | - file: custom.html
<script>
window.MathJax = {
tex: {
tags: 'ams'
}
};
</script>
execute: execute:
daemon: false daemon: false
highlight-style: github highlight-style: github