From 60162a7b91996ccf25647ac9b0b7ea723988d6a8 Mon Sep 17 00:00:00 2001 From: Eric Bouchut Date: Tue, 12 Nov 2024 12:46:26 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Fix=20CORS=20error=20when=20buil?= =?UTF-8?q?ding=20PDF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No longer load Mathjax JS from Unpkg but Cloudflare. This fixes #97 and loads a minified JS which is lightweight. --- mkdocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkdocs.yml b/mkdocs.yml index 1c6b4706..6edce986 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -94,7 +94,7 @@ extra_css: extra_javascript: - assets/javascripts/mathjax.js - assets/javascripts/mkdocs-exporter.js - - https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js + - https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.2.2/es5/tex-mml-chtml.min.js - https://cdnjs.cloudflare.com/ajax/libs/mermaid/10.9.1/mermaid.min.js # Customizations