1.1.2 • Published 11 months ago
@gethinode/mod-katex v1.1.2
Hinode Module - KaTeX
About
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 textcopy-tex.js
: When selecting and copying KaTeX-rendered elements, copies their LaTeX source to the clipboardmathtex-script-type.js
: Automatically displays LaTeX math inside script tags with type=math/texmhchem.js
: Write beautiful chemical equations easilyrender-a11y-string.js
: Add accessible alternative text to KaTeX equations