pandoc-katex

Build Status Latest Version

A pandoc filter to render math equations using KaTeX. It is powered by the katex Rust crate.

Install

bash cargo install pandoc-katex

Alternatively, you can download the pre-built binaries from releases.

Usage

bash pandoc -t html --filter pandoc-katex \ --css https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css \ --css https://pandoc.org/demo/pandoc.css \ --standalone -o output.html /path/to/input.md

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.