-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
The mathjax script is not being added on direct templates that include math that should be rendered.
pelicanconf.py
DIRECT_TEMPLATES = ['index']
Then index.html won't have the mathjax script added to it.
If I understand correctly, the code only renders and adds the script for articles or pages (either Markdown or rst). It would be great to support direct templates too.
Suggestion: let the Markdown mathjax extension handle Markdown output, and add the mathjax script for both .rst and .md files at the same time from within render_math.py. That way, the math extension for Markdown could even be presented as a standalone extension.
Metadata
Metadata
Assignees
Labels
No labels