From 068f0fb44c8ef167a948961a0f7a09f6c4499f19 Mon Sep 17 00:00:00 2001 From: Jonathan Berrisch Date: Sun, 25 May 2025 10:48:21 +0200 Subject: [PATCH] Move mathjax javascript into additional file --- custom.js | 6 ++++++ index.qmd | 9 +-------- 2 files changed, 7 insertions(+), 8 deletions(-) create mode 100644 custom.js diff --git a/custom.js b/custom.js new file mode 100644 index 0000000..d24560d --- /dev/null +++ b/custom.js @@ -0,0 +1,6 @@ +window.MathJax = { + tex: { + tags: 'ams' + } +}; + diff --git a/index.qmd b/index.qmd index 2402f7d..4b56d84 100644 --- a/index.qmd +++ b/index.qmd @@ -24,14 +24,7 @@ format: pagetitle: "De-Fence" html-math-method: mathjax include-in-header: - - text: | - + - file: custom.html execute: daemon: false highlight-style: github