Crate mdbook_katex
source ·Expand description
Preprocess math blocks using KaTeX for mdBook.
Structs
- A pair of strings are delimiters.
- Extra options for the KaTeX preprocessor.
- Configuration for KaTeX preprocessor, including options for
katex-rs
and feature options. - KaTeX
mdbook::preprocess::Proprecessor
for mdBook. - Scanner for text to identify block and inline math
Event
s.
Enums
- An event for parsing in a Markdown file.
- A render job for
process_chapter
.
Functions
- Extract configuration for katex preprocessor from
book_cfg
. - Absolute path of the macro file.
- Read file at
path
. - Render a math block
item
into HTML followingopts
. Wrap result in<data>
tag ifextra_opts.include_src
.