File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 5
5
[ ![ Build Status] ( https://badgers.space/github/checks/rossmacarthur/pulldown-cmark-toc/trunk?label=build )] ( https://github.com/rossmacarthur/pulldown-cmark-toc/actions/workflows/build.yaml?branch=trunk )
6
6
7
7
Generate a table of contents from a Markdown document.
8
+ By default the heading anchor calculation (aka the "slugification")
9
+ is done in a way that attempts to mimic GitHub's (undocumented) behavior.
8
10
9
11
## Getting started
10
12
Original file line number Diff line number Diff line change 1
1
//! Generate a table of contents from a Markdown document.
2
2
//!
3
+ //! By default the heading anchor calculation (aka the "slugification")
4
+ //! is done in a way that attempts to mimic GitHub's (undocumented) behavior.
5
+ //! (Though you can customize this with your own [`slug::Slugify`] implementation).
6
+ //!
3
7
//! # Examples
4
8
//!
5
9
//! ```
You can’t perform that action at this time.
0 commit comments