Skip to content

Commit

Permalink
Merge pull request #2373 from TGITS/patch-1
Browse files Browse the repository at this point in the history
Maybe a typo in preprocessors.md
  • Loading branch information
Dylan-DPC authored May 13, 2024
2 parents 2420919 + 8308f15 commit 7269c37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guide/src/format/configuration/preprocessors.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7269c37

Please sign in to comment.