docsy icon indicating copy to clipboard operation
docsy copied to clipboard

Enhancement: build-time rendering of math equations

Open deining opened this issue 7 months ago • 0 comments

We should consider server side rendering of math equations via hugo's built-in KaTeX rendering engine.

Advantages:

  • server side rendering (instead of client side rendering)
  • no JS needed for math content
  • typesetting of formulae using LaTeX standard syntax, no escaping of delimiters needed (already in place)
  • no need to activate math mode in frontmatter any more
  • internal rendering engine supports rendering of chemical equations out of the box (as of hugo version 0.144.0)
  • no need to include KaTeX dependencies any more

deining avatar May 27 '25 21:05 deining