8 releases
new 0.1.7 | Apr 20, 2025 |
---|---|
0.1.6 | Mar 29, 2025 |
0.1.3 | Feb 28, 2025 |
#1384 in Game dev
472 downloads per month
98KB
2K
SLoC
The library crate for the mdbook LAD preprocessor.
LAD Preprocessor for mdbook
This is a preprocessor for mdbook
that allows you to include LAD
files in your markdown files.
Usage
Add the following to your book.toml
:
[preprocessor.lad_preprocessor]
Then any files with the .lad.json
extension will be processed by the preprocessor.
So for example if you have the following structure:
- [Normal file](normal_file.md)
- [LAD file](lad_file.lad.json)
The lad_file.lad.json
will be processed by the preprocessor, and appropriate nested markdown will be generated from there on out using the LAD file
chapter as the parent page.
If the file is not found
Dependencies
~13–25MB
~385K SLoC