File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11The MIT License (MIT)
22
3- Copyright (c) 2015 Eugene Sharygin
3+ Copyright (c) 2015, 2016 Eugene Sharygin
44
55Permission is hereby granted, free of charge, to any person obtaining a copy
66of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff 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
3232var select = require (' unist-util-select' );
3333
3434var markdown = fs .readFileSync (' example.md' , ' utf8' );
35- var ast = mdast .parse (markdown);
35+ var ast = remark .parse (markdown);
3636
3737select (ast, ' list text[value*=TODO]' )
3838// => [ { type: 'text', value: 'TODO Step 2.' },
@@ -42,7 +42,7 @@ select(ast, 'list text[value*=TODO]')
4242
4343That's it!
4444
45- [ mdast ] : https://github.com/wooorm/mdast
45+ [ remark ] : https://github.com/wooorm/remark
4646
4747## Features
4848
You can’t perform that action at this time.
0 commit comments