File tree Expand file tree Collapse file tree 3 files changed +31
-3
lines changed
Expand file tree Collapse file tree 3 files changed +31
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Generate a Table of Contents from a [**mdast**][mdast] tree.
77[ npm] [ ] :
88
99``` bash
10- npm install remark -toc
10+ npm install mdast-util -toc
1111```
1212
1313** mdast-util-toc** is also available as an AMD, CommonJS, and globals
@@ -48,7 +48,7 @@ Yields:
4848``` js
4949{ index: null ,
5050 endIndex: null ,
51- map:
51+ map:
5252 { type: ' list' ,
5353 ordered: false ,
5454 children: [ { type: ' listItem' , loose: true , children: [Object ] } ] } }
Original file line number Diff line number Diff line change 1+ <!-- remark setext-->
2+
3+ <!-- lint disable no-multiple-toplevel-headings-->
4+
5+ 2.0.0 / 2016-07-23
6+ ==================
7+
8+ * Rewrite to not mutate given node ([ #1 ] ( https://github.com/barrythepenguin/mdast-util-toc/issues/1 ) )
9+
10+ 1.0.1 / 2016-07-23
11+ ==================
12+
13+ 1.0.0 / 2016-07-23
14+ ==================
15+
16+ 0.2.0 / 2016-07-23
17+ ==================
18+
19+ * expose map and index in result
20+
21+ 0.1.0 / 2016-07-18
22+ ==================
23+
24+ * readme example usage
25+ * include lib in packages
26+ * readme and license
27+ * deploy matrix
28+ * initial commit
Original file line number Diff line number Diff line change 11{
22 "name" : " mdast-util-toc" ,
3- "version" : " 1 .0.1 " ,
3+ "version" : " 2 .0.0 " ,
44 "description" : " Generate a Table of Contents (TOC) from a given Markdown file" ,
55 "main" : " index.js" ,
66 "files" : [
You can’t perform that action at this time.
0 commit comments