From facb6b7a32d9056f4765a015f7ba567a85c1a395 Mon Sep 17 00:00:00 2001 From: "Zack M. Davis" Date: Tue, 14 Jul 2026 17:24:31 -0700 Subject: [PATCH] standard solution for MathJax and Markdown to not fight --- pelicanconf.py | 2 ++ requirements.txt | 5 +++++ theme/templates/base.html | 4 ---- 3 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 requirements.txt diff --git a/pelicanconf.py b/pelicanconf.py index f795fc2..8f6d424 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -9,6 +9,8 @@ SITEURL = '' PATH = 'content' THEME = 'theme' +PLUGINS = ['render_math'] + TIMEZONE = 'America/Los_Angeles' DEFAULT_LANG = 'en' diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..685f053 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,5 @@ +pelican==4.12.0 +markdown==3.10.2 +pelican-render-math==1.0.5 +pygments==2.19.2 +typogrify==2.1.0 diff --git a/theme/templates/base.html b/theme/templates/base.html index c050933..872e520 100644 --- a/theme/templates/base.html +++ b/theme/templates/base.html @@ -10,10 +10,6 @@ {% endif %} {% block extra_head %}{% endblock %} - -
-- 2.53.0