👩💻 Join our community of thousands of amazing developers!
As it turns out, adding support to render LaTeX in a Jekyll blog isn’t all that hard, because other people have done most of the heavy lifting. There are two main ways to do this: Client-side rendering: After the page loads, a JS script is run to transform LaTeXy parts of the page to lovely, styled HTML. Build-time rendering: After Markdown files are compiled to HTML, a Jekyll plugin further transforms those LaTeXy parts to HTML as well. Here’s how you do either using $\KaTeX$. Client-Side $\...