Tera preprocessor for mdBook
API documentation hosted on docs.rs.
First install the tera preprocessor.
sh
cargo install mdbook-tera
Then in your book.toml
file, add the tera preprocessor as below.
```toml
[preprocessor.tera] ```
toml
[preprocessor.tera]
command = "mdbook-tera --json ./src/context.json"
See example-book
for a basic usage.