#tags #mdbook #preprocessor #page #consolidate #filename

app mdbook-tag

mdbook preprocessor to consolidate tags from pages

2 releases

0.0.2 Dec 2, 2019
0.0.1 Nov 8, 2019

#108 in #preprocessor

MPL-2.0 license

25KB
449 lines

mdBook Tag

crates.io LICENSE

Install

cargo install mdbook-tag

book.toml

[preprocessor.tag]
command = "mdbook-tag"
# Optional key to customize the output filename (defaults to tags.md)
filename = "customtagsfile.md"

Usage

Input

`tag:one-tag` `tag:two-tag`

Output

[`#one-tag`](tags.md#one-tag "Tag: one-tag") [`#two-tag`](tags.md#two-tag "Tag: two-tag")

Rendered

#one-tag #two-tag

Dependencies

~16–28MB
~427K SLoC