File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 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 ] )
46compatible DSL for creating virtual [ HAST] [ ] trees.
57
68## Installation
79
8- [ npm] [ npm-install ] :
10+ [ npm] [ ] :
911
1012``` bash
1113npm install hastscript
@@ -67,7 +69,7 @@ Yields:
6769
6870DSL 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
You can’t perform that action at this time.
0 commit comments