Math Latex Rendering Using Katex Library for Hugo Themes
As I’m using Hugo static site generator with PaperMod theme, I noticed that the Latex math equations in the markdown content/posts files do not render as expected. After some digging in the theme source code I found out there’s no Latex based library being called out during the site building process. Which explains why something like the below doesn’t render: $$\sum_{n=1}^{k} \frac{1}{n^2} = \frac{\pi^2}{6}$$ When in a perfect world it supposed to render like:...