https://github.com/brocaar/mdbook-findrep
Simple find / replace preprocessor for mdBook.
https://github.com/brocaar/mdbook-findrep
Last synced: 5 months ago
JSON representation
Simple find / replace preprocessor for mdBook.
- Host: GitHub
- URL: https://github.com/brocaar/mdbook-findrep
- Owner: brocaar
- License: mit
- Created: 2026-01-06T10:54:41.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2026-01-06T11:31:54.000Z (5 months ago)
- Last Synced: 2026-01-11T11:40:01.764Z (5 months ago)
- Language: Rust
- Size: 17.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mdbook-findrep
`mdbook-findrep` is a very simple pre-processor for replacing variables in an [mdBook](https://rust-lang.github.io/mdBook/).
Please note that the current version is compatible with mdBook v0.4.
```toml
[preprocessor.findrep]
foo = "bar"
```
With the above configuration, it would replace any `%FOO` in the documentation with `bar`.
Please note that keys are automatically upper-cased and prefixed with a `%`.