mirror of
https://github.com/rust-lang/mdBook
synced 2024-12-13 06:12:43 +00:00
Merge pull request #2373 from TGITS/patch-1
Maybe a typo in preprocessors.md
This commit is contained in:
commit
7269c372d6
1 changed files with 2 additions and 2 deletions
|
@ -26,13 +26,13 @@ For information on how to create a new preprocessor, see the [Preprocessors for
|
|||
## Custom Preprocessor Configuration
|
||||
|
||||
Preprocessors can be added by including a `preprocessor` table in `book.toml` with the name of the preprocessor.
|
||||
For example, if you have a preprocessor called `mdbook-example`, then you can include it with:
|
||||
For example, if you have a preprocessor called `preprocessor-example`, then you can include it with:
|
||||
|
||||
```toml
|
||||
[preprocessor.example]
|
||||
```
|
||||
|
||||
With this table, mdBook will execute the `mdbook-example` preprocessor.
|
||||
With this table, mdBook will execute the `preprocessor-example` preprocessor.
|
||||
|
||||
This table can include additional key-value pairs that are specific to the preprocessor.
|
||||
For example, if our example preprocessor needed some extra configuration options:
|
||||
|
|
Loading…
Reference in a new issue