You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
The mathjax script is not being added on direct templates that include math that should be rendered.
pelicanconf.py
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.The text was updated successfully, but these errors were encountered: