Skip to content

Commit 02b40f0

Browse files
committed
Refactor readme.md
1 parent dc9967d commit 02b40f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
1010
npm install hast-util-from-parse5
@@ -26,7 +26,7 @@ var parse5 = require('parse5');
2626
var inspect = require('unist-util-inspect');
2727
var fromParse5 = require('hast-util-from-parse5');
2828

29-
var doc = vfile.readSync('example.html')
29+
var doc = vfile.readSync('example.html');
3030
var ast = parse5.parse(String(doc), {locationInfo: true});
3131
var 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

0 commit comments

Comments
 (0)