Skip to content

Conversation

@deining
Copy link

@deining deining commented Feb 21, 2025

This PR brings server side rendering of math equations via hugo's built-in KaTeX rendering engine.

Advantages:

  • no JS needed for math content
  • typesetting of formulae using LaTeX standard syntax, no escaping of delimiters needed
  • no need to load javascript files at run time
  • server side rendering (instead of client side rendering)
  • internal rendering engine supports rendering of chemical equations out of the box (as of hugo version 0.144.0)
  • no need to update KaTeX dependencies any more

Disadvantages:

  • minimum required hugo version is now 0.141.0

I hope you like this PR.

@deining deining force-pushed the use-hugo-internal-katex-engine branch from 56dd08d to cf76530 Compare February 21, 2025 22:35
@deining deining force-pushed the use-hugo-internal-katex-engine branch from cf76530 to 5bf033c Compare February 22, 2025 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant