Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gethinode/mod-katex
A Hugo module to add KaTeX formulas to your Hinode site
https://github.com/gethinode/mod-katex
hugo hugo-theme hugo-theme-component
Last synced: about 2 months ago
JSON representation
A Hugo module to add KaTeX formulas to your Hinode site
- Host: GitHub
- URL: https://github.com/gethinode/mod-katex
- Owner: gethinode
- License: mit
- Created: 2023-07-20T07:20:03.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-28T04:33:30.000Z (3 months ago)
- Last Synced: 2024-10-29T12:57:28.446Z (2 months ago)
- Topics: hugo, hugo-theme, hugo-theme-component
- Language: HTML
- Homepage: https://gethinode.com
- Size: 2.38 MB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hinode Module - KaTeX
A Hugo module to add KaTeX formulas to your Hinode site
## About
![Logo](https://raw.githubusercontent.com/gethinode/hinode/main/static/img/logo.png)
Hinode is a clean blog theme for [Hugo][hugo], an open-source static site generator. Hinode is available as a [template][repository_template], and a [main theme][repository]. This repository maintains a Hugo module to add [KaTeX][katex] to a Hinode site. Visit the Hinode documentation site for [installation instructions][hinode_docs].
## Notes
> [!IMPORTANT]
> Hugo v0.132.0 introduced (experimental) support for [server-side rendering of KaTeX expressions](https://gohugo.io/functions/transform/tomath/).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[hugo]: https://gohugo.io
[hinode_docs]: https://gethinode.com
[katex]: https://katex.org
[katex_extensions]: https://katex.org/docs/libs.html#extensions
[repository]: https://github.com/gethinode/hinode.git
[repository_template]: https://github.com/gethinode/template.git