Skip to content

Commit 1a45e5c

Browse files
2.0.0
1 parent b74d0ab commit 1a45e5c

File tree

3 files changed

+31
-3
lines changed

3 files changed

+31
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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] } ] } }

history.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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": [

0 commit comments

Comments
 (0)