We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1294628 commit 383e3cdCopy full SHA for 383e3cd
README.md
@@ -34,10 +34,15 @@ Yields:
34
35
## API
36
37
-### `toMDAST(node)`
+### `toMDAST(node[, options])`
38
39
Transform the given [HAST][] tree to an [MDAST][] tree.
40
41
+###### `options.handlers`
42
+
43
+* Object mapping tag-names to functions handling those elements.
44
+ Take a look at [`handlers/`][handlers] for examples.
45
46
## Related
47
48
* [`mdast-util-to-hast`][mdast-util-to-hast]
@@ -69,3 +74,5 @@ Transform the given [HAST][] tree to an [MDAST][] tree.
69
74
[mdast-util-to-hast]: https://github.com/syntax-tree/mdast-util-to-hast
70
75
71
76
[3]: https://github.com/syntax-tree/hast-util-to-mdast/issues/3
77
78
+[handlers]: https://github.com/syntax-tree/hast-util-to-mdast/tree/master/handlers
0 commit comments