How to render LaTeX formula in Pelican

Posted on Tue 14 June 2022 in math

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 file:

PLUGINS = ['render_math']

Then type formula in your blog post markdown documents:

$$ \frac{1}{2} $$

And that's it !