How to render LaTeX formula in Pelican
Rendering $\LaTeX$ formulas in Pelican is easy.
Firstly import the pelican plugin in the proper python environment:
pip install pelican-render-math
Add render_math
to PLUGINS list in your pelicanconf.py
file:
PLUGINS = ['render_math']
Then type formula in your blog post markdown documents:
$$
\frac{1}{2}
$$
$$ \frac{1}{2} $$
And that’s it !