|
12 | 12 |
|
13 | 13 | ## Contents
|
14 | 14 |
|
15 |
| -* [What is this?](#what-is-this) |
16 |
| -* [When should I use this?](#when-should-i-use-this) |
17 |
| -* [Install](#install) |
18 |
| -* [Use](#use) |
19 |
| -* [API](#api) |
20 |
| - * [`toNlcst(tree, file, Parser[, options])`](#tonlcsttree-file-parser-options) |
21 |
| - * [`Options`](#options) |
22 |
| - * [`ParserConstructor`](#parserconstructor) |
23 |
| - * [`ParserInstance`](#parserinstance) |
24 |
| -* [Types](#types) |
25 |
| -* [Compatibility](#compatibility) |
26 |
| -* [Security](#security) |
27 |
| -* [Related](#related) |
28 |
| -* [Contribute](#contribute) |
29 |
| -* [License](#license) |
| 15 | +* [What is this?](#what-is-this) |
| 16 | +* [When should I use this?](#when-should-i-use-this) |
| 17 | +* [Install](#install) |
| 18 | +* [Use](#use) |
| 19 | +* [API](#api) |
| 20 | + * [`toNlcst(tree, file, Parser[, options])`](#tonlcsttree-file-parser-options) |
| 21 | + * [`Options`](#options) |
| 22 | + * [`ParserConstructor`](#parserconstructor) |
| 23 | + * [`ParserInstance`](#parserinstance) |
| 24 | +* [Types](#types) |
| 25 | +* [Compatibility](#compatibility) |
| 26 | +* [Security](#security) |
| 27 | +* [Related](#related) |
| 28 | +* [Contribute](#contribute) |
| 29 | +* [License](#license) |
30 | 30 |
|
31 | 31 | ## What is this?
|
32 | 32 |
|
@@ -122,15 +122,15 @@ Turn an mdast tree into an nlcst tree.
|
122 | 122 |
|
123 | 123 | ###### Parameters
|
124 | 124 |
|
125 |
| -* `tree` ([`MdastNode`][mdast-node]) |
126 |
| - — mdast tree to transform |
127 |
| -* `file` ([`VFile`][vfile]) |
128 |
| - — virtual file |
129 |
| -* `Parser` ([`ParserConstructor`][api-parser-constructor] or |
130 |
| - [`ParserInstance`][api-parser-instance]) |
131 |
| - — parser to use |
132 |
| -* `options` ([`Options`][api-options], optional) |
133 |
| - — configuration |
| 125 | +* `tree` ([`MdastNode`][mdast-node]) |
| 126 | + — mdast tree to transform |
| 127 | +* `file` ([`VFile`][vfile]) |
| 128 | + — virtual file |
| 129 | +* `Parser` ([`ParserConstructor`][api-parser-constructor] or |
| 130 | + [`ParserInstance`][api-parser-instance]) |
| 131 | + — parser to use |
| 132 | +* `options` ([`Options`][api-options], optional) |
| 133 | + — configuration |
134 | 134 |
|
135 | 135 | ###### Returns
|
136 | 136 |
|
@@ -265,16 +265,16 @@ openings for [cross-site scripting (XSS)][xss] attacks.
|
265 | 265 |
|
266 | 266 | ## Related
|
267 | 267 |
|
268 |
| -* [`mdast-util-to-hast`](https://github.com/syntax-tree/mdast-util-to-hast) |
269 |
| - — transform mdast to hast |
270 |
| -* [`hast-util-to-nlcst`](https://github.com/syntax-tree/hast-util-to-nlcst) |
271 |
| - — transform hast to nlcst |
272 |
| -* [`hast-util-to-mdast`](https://github.com/syntax-tree/hast-util-to-mdast) |
273 |
| - — transform hast to mdast |
274 |
| -* [`hast-util-to-xast`](https://github.com/syntax-tree/hast-util-to-xast) |
275 |
| - — transform hast to xast |
276 |
| -* [`hast-util-sanitize`](https://github.com/syntax-tree/hast-util-sanitize) |
277 |
| - — sanitize hast nodes |
| 268 | +* [`mdast-util-to-hast`](https://github.com/syntax-tree/mdast-util-to-hast) |
| 269 | + — transform mdast to hast |
| 270 | +* [`hast-util-to-nlcst`](https://github.com/syntax-tree/hast-util-to-nlcst) |
| 271 | + — transform hast to nlcst |
| 272 | +* [`hast-util-to-mdast`](https://github.com/syntax-tree/hast-util-to-mdast) |
| 273 | + — transform hast to mdast |
| 274 | +* [`hast-util-to-xast`](https://github.com/syntax-tree/hast-util-to-xast) |
| 275 | + — transform hast to xast |
| 276 | +* [`hast-util-sanitize`](https://github.com/syntax-tree/hast-util-sanitize) |
| 277 | + — sanitize hast nodes |
278 | 278 |
|
279 | 279 | ## Contribute
|
280 | 280 |
|
|
0 commit comments