You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -237,6 +237,18 @@ Yields:
237
237
Some text with <svg viewBox="0 0 1 1" width="1" height="1"><rect fill="black" x="0" y="0" width="1" height="1"></rect></svg> a graphic… Wait is that a dead pixel?
238
238
```
239
239
240
+
### `all(h, parent)`
241
+
242
+
Helper function for writing custom handlers passed to `options.handlers`.
243
+
Pass it `h` and a parent node (hast) and it will turn the node’s children into
244
+
an array of transformed nodes (mdast).
245
+
246
+
### `one(h, node, parent)`
247
+
248
+
Helper function for writing custom handlers passed to `options.handlers`.
249
+
Pass it `h`, a `node`, and its `parent` (hast) and it will turn `node` into
0 commit comments