@gethinode/mod-katex

1.1.2 • Public • Published

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.

  • [x] 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

Readme

Keywords

Package Sidebar

Install

npm i @gethinode/mod-katex

Weekly Downloads

1

Version

1.1.2

License

MIT

Unpacked Size

1.87 MB

Total Files

90

Last publish

Collaborators

  • markdumay