1 unstable release
0.1.1 | Aug 29, 2021 |
---|---|
0.1.0 |
|
#20 in #cms
21KB
484 lines
mdbook-cms
A preprocessor bring cms to mdbook.
install
cargo install mdbook-cms
Use cms mdbook preprocessor.
#cat /path/to/your/mdbook/book.toml
[book]
authors = []
language = "en"
multilingual = false
src = "src"
[build]
create-missing = false
#use cms preprocessor
[preprocessor.cms]
# meta/first-line/filename
title = "meta"
[output.html.fold]
enable = true
level = 0
When you run
mdbook serve
Or
mdbook build
this will also walk your mdbook src dir and generate the book summary in /path/to/your/mdbook/src/SUMMARY.md
Dependencies
~15–26MB
~391K SLoC