File tree 3 files changed +183
-158
lines changed 3 files changed +183
-158
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,11 @@ const emptyOptions = {}
11
11
/**
12
12
* Generate a table of contents (TOC).
13
13
*
14
+ * Looks for the first heading matching `options.heading` (case insensitive),
15
+ * removes everything between it and an equal or higher next heading, and
16
+ * replaces that with a list representing the rest of the document structure,
17
+ * linking to all further headings.
18
+ *
14
19
* @param {Readonly<Options> | null | undefined } [options]
15
20
* Configuration (optional).
16
21
* @returns
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " remark-toc" ,
3
3
"version" : " 8.0.1" ,
4
- "description" : " remark plugin to generate a Table of Contents (TOC)" ,
4
+ "description" : " remark plugin to generate a table of contents (TOC)" ,
5
5
"license" : " MIT" ,
6
6
"keywords" : [
7
7
" content" ,
You can’t perform that action at this time.
0 commit comments