Skip to content

Commit 14e2ebb

Browse files
committed
readme: replace mdast with remark
1 parent 47e0bec commit 14e2ebb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2015 Eugene Sharygin
3+
Copyright (c) 2015, 2016 Eugene Sharygin
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ Get all TODO items from this list:
2626
3. TODO Step 3.3.
2727
```
2828

29-
[`mdast`][mdast] takes this Markdown as an input and returns unist syntax tree. After that, we use `unist-util-select` to extract the required parts:
29+
[remark] takes this Markdown as an input and returns unist syntax tree. After that, we use `unist-util-select` to extract the required parts:
3030

3131
```js
3232
var select = require('unist-util-select');
3333

3434
var markdown = fs.readFileSync('example.md', 'utf8');
35-
var ast = mdast.parse(markdown);
35+
var ast = remark.parse(markdown);
3636

3737
select(ast, 'list text[value*=TODO]')
3838
//=> [ { type: 'text', value: 'TODO Step 2.' },
@@ -42,7 +42,7 @@ select(ast, 'list text[value*=TODO]')
4242

4343
That's it!
4444

45-
[mdast]: https://github.com/wooorm/mdast
45+
[remark]: https://github.com/wooorm/remark
4646

4747
## Features
4848

0 commit comments

Comments
 (0)