Skip to content

Latest commit

 

History

History
56 lines (46 loc) · 2.63 KB

README.md

File metadata and controls

56 lines (46 loc) · 2.63 KB

Hinode Module - KaTeX

A Hugo module to add KaTeX formulas to your Hinode site

About

Logo

Hinode is a clean blog theme for Hugo, an open-source static site generator. Hinode is available as a template, and a main theme. This repository maintains a Hugo module to add KaTeX to a Hinode site. Visit the Hinode documentation site for installation instructions.

Notes

Important

Hugo v0.132.0 introduced (experimental) support for server-side rendering of KaTeX expressions.

This modules exposes only one of the extensions by default. All extensions provided by KaTeX are available in the dist/contrib folder. Override or modify the mount configuration in config.toml as needed.

  • auto-render.js: Automatically renders all of the math inside text
  • copy-tex.js: When selecting and copying KaTeX-rendered elements, copies their LaTeX source to the clipboard
  • mathtex-script-type.js: Automatically displays LaTeX math inside script tags with type=math/tex
  • mhchem.js: Write beautiful chemical equations easily
  • render-a11y-string.js: Add accessible alternative text to KaTeX equations