File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Transform [HAST][] to [Parse5’s AST][ast].
44
55## Installation
66
7- [ npm] [ npm-install ] :
7+ [ npm] [ ] :
88
99``` bash
1010npm install hast-util-from-parse5
@@ -26,7 +26,7 @@ var parse5 = require('parse5');
2626var inspect = require (' unist-util-inspect' );
2727var fromParse5 = require (' hast-util-from-parse5' );
2828
29- var doc = vfile .readSync (' example.html' )
29+ var doc = vfile .readSync (' example.html' );
3030var ast = parse5 .parse (String (doc), {locationInfo: true });
3131var hast = fromParse5 (ast, doc);
3232
@@ -132,7 +132,7 @@ The verbose info would looks as follows:
132132
133133[ codecov ] : https://codecov.io/github/syntax-tree/hast-util-from-parse5
134134
135- [ npm-install ] : https://docs.npmjs.com/cli/install
135+ [ npm ] : https://docs.npmjs.com/cli/install
136136
137137[ license ] : LICENSE
138138
You can’t perform that action at this time.
0 commit comments