Skip to content

Commit 76f8cad

Browse files
committed
add minDepth to readme
1 parent 6cf2256 commit 76f8cad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

readme.md

+4
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@ Configuration (TypeScript type).
140140
— maximum heading depth to include in the table of contents.
141141
This is inclusive: when set to `3`, level three headings are included
142142
(those with three hashes, `###`)
143+
* `minDepth` (`number`, default: `1`)
144+
— minimum heading depth to include in the table of contents.
145+
This is inclusive: when set to `3`, level three headings are included
146+
(those with three hashes, `###`)
143147
* `skip` (`string`, optional)
144148
— headings to skip, wrapped in `new RegExp('^(' + value + ')$', 'i')`.
145149
Any heading matching this expression will not be present in the table of

0 commit comments

Comments
 (0)