1 unstable release
new 0.1.0 | Feb 15, 2025 |
---|
#842 in Game dev
100 downloads per month
78KB
1.5K
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
~36–50MB
~891K SLoC