#pre-processor #mdbook

app mdbook-mdinclude

Preprocessor for mdBook that better handles including markdown files

1 unstable release

0.1.0 Aug 11, 2024

#951 in Text processing

MIT license

23KB
426 lines

mdbook-mdinclude

A preprocessor to better handle including markdown files.

Features

The only feature at this point is to update relative links from included markdown files.

This can be important if your markdown file includes some images that you want to continue to work after you have included the markdown file.

Installation & Setup

This preprocessor can be installed with Cargo:

cargo install mdbook-mdinclude

Add the following line to your book.toml file:

[preprocessor.mdinclude]

Now you can use the mdinclude links in your book.

Dependencies

~13–23MB
~348K SLoC