@gethinode/mod-katex

1.1.0 • 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

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

Dependencies (0)

    Dev Dependencies (8)

    Package Sidebar

    Install

    npm i @gethinode/mod-katex

    Weekly Downloads

    59

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    1.86 MB

    Total Files

    90

    Last publish

    Collaborators

    • markdumay