Build Status Crate Docs

mdbook-tera

Tera preprocessor for mdBook
API documentation hosted on docs.rs.

Usage

First install the tera preprocessor.

sh cargo install mdbook-tera

Then in your book.toml file, add the tera preprocessor as below.

Default Configuration

```toml

Default options, load a TOML context file from ./src/context.toml

[preprocessor.tera] ```

JSON Configuration

toml [preprocessor.tera] command = "mdbook-tera --json ./src/context.json"

See example-book for a basic usage.