@@ -49,13 +49,13 @@ Transform [HAST][] to something else through a [hyperscript][] DSL.
4949
5050###### Parameters
5151
52- * ` h ` ([ ` Function ` ] [ h ] );
53- * ` node ` ([ ` Element ` ] [ element ] );
52+ * ` h ` ([ ` Function ` ] [ h ] )
53+ * ` node ` ([ ` Element ` ] [ element ] )
5454* ` prefix ` (` string ` or ` boolean ` , optional)
5555 — Prefix to use as a prefix for keys passed in ` attrs ` to ` h() ` ,
5656 this behaviour is turned off by passing ` false ` , turned on by passing
5757 a ` string ` . By default, ` h- ` is used as a prefix if the given ` h `
58- is detected as being ` virtual-dom/h ` or ` React.createElement ` .
58+ is detected as being ` virtual-dom/h ` or ` React.createElement `
5959
6060###### Returns
6161
@@ -67,10 +67,10 @@ Transform [HAST][] to something else through a hyperscript DSL.
6767
6868###### Parameters
6969
70- * ` name ` (` string ` ) — Tag-name of element to create.
71- * ` attrs ` (` Object.<string> ` ) — Attributes to set.
70+ * ` name ` (` string ` ) — Tag-name of element to create
71+ * ` attrs ` (` Object.<string> ` ) — Attributes to set
7272* ` children ` (` Array.<* | string> ` ) — List of children and text,
73- where children are the result of invoking ` h() ` previously.
73+ where children are the result of invoking ` h() ` previously
7474
7575###### Returns
7676
@@ -84,13 +84,13 @@ doesn’t support classes in `attrs`, `virtual-dom/h` needs an `attributes`
8484object inside ` attrs ` most of the time. ` hast-to-hyperscript ` works
8585around these differences for:
8686
87- * [ ` React.createElement ` ] [ react ] ;
88- * [ ` virtual-dom/h ` ] [ vdom ] ;
89- * [ ` hyperscript ` ] [ hyperscript ] .
87+ * [ ` React.createElement ` ] [ react ]
88+ * [ ` virtual-dom/h ` ] [ vdom ]
89+ * [ ` hyperscript ` ] [ hyperscript ]
9090
9191## Related
9292
93- * [ ` hastscript ` ] [ hastscript ] .
93+ * [ ` hastscript ` ] [ hastscript ]
9494
9595## License
9696
0 commit comments