From 8eb40111eb9d8ee8db9230694427a5703149380e Mon Sep 17 00:00:00 2001 From: Vishwanath Raman Date: Mon, 9 Nov 2026 09:49:21 -0800 Subject: [PATCH] docs: restore MathJax config dropped in Cedar note merge Resolving the zensical.toml conflict in the main merge into vishwa/cedar-note took main's file wholesale, which dropped the MathJax scripts in extra_javascript and the pymdownx.arithmatex extension. Restore both so the Cedar Dev Note renders its LaTeX again. Signed-off-by: Vishwanath Raman --- zensical.toml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/zensical.toml b/zensical.toml index 4c713d77..01662d3e 100644 --- a/zensical.toml +++ b/zensical.toml @@ -15,7 +15,13 @@ extra_css = [ "stylesheets/documentation.css", "stylesheets/pi-traces.css" ] -extra_javascript = ["javascripts/navigation-drawer.js", "javascripts/dev-notes.js", "javascripts/pi-traces.js"] +extra_javascript = [ + "javascripts/navigation-drawer.js", + "javascripts/dev-notes.js", + "javascripts/pi-traces.js", + "javascripts/mathjax.js", + "https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js" +] nav = [ {"Dev Notes" = [ "dev-notes/index.md", @@ -53,6 +59,9 @@ noindex_prefixes = ["development/", "projects/", "research/"] [project.markdown_extensions.admonition] +[project.markdown_extensions."pymdownx.arithmatex"] +generic = true + [project.markdown_extensions.footnotes] [project.markdown_extensions.md_in_html]