/mdbook-katex

A preprocessor for mdBook, rendering LaTex equations to HTML at build time.

Primary LanguageRustMIT LicenseMIT

mdbook-katex

A preprocessor for mdBook, base on lzanini/mdbook-katex.

To LaTeX render correctly, it does simple text replacement, such as _ with \_, or * with \*.

Another version without mdbook is here, which I use in hugo.

Usage

First, install mdbook-katex

$ cargo install --git "https://github.com/rogeryoungh/mdbook-katex"

Add the following lines to your book.toml file

[preprocessor.katex]