5 releases
new 0.1.4 | Mar 16, 2025 |
---|---|
0.1.3 | Feb 28, 2025 |
0.1.2 | Feb 26, 2025 |
0.1.1 | Feb 23, 2025 |
0.1.0 | Feb 15, 2025 |
#927 in Game dev
665 downloads per month
87KB
2K
SLoC
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
lib.rs
:
The library crate for the mdbook LAD preprocessor.
Dependencies
~13–25MB
~387K SLoC