Skip to content

Commit 2744ec3

Browse files
committed
Update readme.md
1 parent 442166c commit 2744ec3

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

readme.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# hastscript [![Build Status][travis-badge]][travis] [![Coverage Status][codecov-badge]][codecov]
22

3+
<!--lint disable heading-increment-->
4+
35
[Hyperscript][] (and [`virtual-hyperscript`][virtual-hyperscript])
46
compatible DSL for creating virtual [HAST][] trees.
57

68
## Installation
79

8-
[npm][npm-install]:
10+
[npm][]:
911

1012
```bash
1113
npm install hastscript
@@ -67,7 +69,7 @@ Yields:
6769

6870
DSL for creating virtual [HAST][] trees.
6971

70-
**Parameters**:
72+
###### Parameters
7173

7274
* `selector` (`string`, optional)
7375
— Simple CSS selector, e.g., tag names (`foo`), IDs (`#bar`)
@@ -81,7 +83,9 @@ DSL for creating virtual [HAST][] trees.
8183
— (List of) child nodes, when strings are encountered,
8284
they are normalised to [`text`][text] nodes.
8385

84-
**Returns**: [`Node`][hast-node] — A HAST node.
86+
###### Returns
87+
88+
[`Node`][hast-node] — A HAST node.
8589

8690
## License
8791

@@ -97,7 +101,7 @@ DSL for creating virtual [HAST][] trees.
97101

98102
[codecov]: https://codecov.io/github/wooorm/hastscript
99103

100-
[npm-install]: https://docs.npmjs.com/cli/install
104+
[npm]: https://docs.npmjs.com/cli/install
101105

102106
[releases]: https://github.com/wooorm/hastscript/releases
103107

0 commit comments

Comments
 (0)