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.
extensions
1 parent a5012f1 commit 3d05194Copy full SHA for 3d05194
readme.md
@@ -78,6 +78,11 @@ Value to parse (`string` or [`Buffer`][buffer]).
78
[Character encoding][encoding] to understand `doc` as when it’s a
79
[`Buffer`][buffer] (`string`, default: `'utf8'`).
80
81
+###### `options.extensions`
82
+
83
+Array of syntax extensions (`Array.<MicromarkSyntaxExtension>`, default: `[]`).
84
+Passed to [`micromark` as `extensions`][micromark-extensions].
85
86
###### `options.mdastExtensions`
87
88
Array of mdast extensions (`Array.<MdastExtension>`, default: `[]`).
@@ -183,3 +188,5 @@ abide by its terms.
183
188
[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting
184
189
185
190
[sanitize]: https://github.com/syntax-tree/hast-util-sanitize
191
192
+[micromark-extensions]: https://github.com/micromark/micromark#optionsextensions
0 commit comments