mdbook-cms

Crates.iomdbook-cms
lib.rsmdbook-cms
version0.1.1
sourcesrc
created_at2021-08-29 16:06:37.599473
updated_at2021-08-29 16:18:16.140615
descriptionA preprocessor to add cms.
homepagehttps://crates.io/crates/mdbook-cms
repositoryhttps://github.com/alongwy/mdbook-cms
max_upload_size
id443822
size73,950
Feng Yunlong (AlongWY)

documentation

https://crates.io/crates/mdbook-cms

README

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

Commit count: 8

cargo fmt