|
12 | 12 |
|
13 | 13 | ## Contents
|
14 | 14 |
|
15 |
| -* [What is this?](#what-is-this) |
16 |
| -* [When to use this](#when-to-use-this) |
17 |
| -* [Install](#install) |
18 |
| -* [Use](#use) |
19 |
| -* [API](#api) |
20 |
| - * [`mdxJsxFromMarkdown()`](#mdxjsxfrommarkdown) |
21 |
| - * [`mdxJsxToMarkdown(options?)`](#mdxjsxtomarkdownoptions) |
22 |
| - * [`MdxJsxAttribute`](#mdxjsxattribute) |
23 |
| - * [`MdxJsxAttributeValueExpression`](#mdxjsxattributevalueexpression) |
24 |
| - * [`MdxJsxExpressionAttribute`](#mdxjsxexpressionattribute) |
25 |
| - * [`MdxJsxFlowElement`](#mdxjsxflowelement) |
26 |
| - * [`MdxJsxFlowElementHast`](#mdxjsxflowelementhast) |
27 |
| - * [`MdxJsxTextElement`](#mdxjsxtextelement) |
28 |
| - * [`MdxJsxTextElementHast`](#mdxjsxtextelementhast) |
29 |
| - * [`ToMarkdownOptions`](#tomarkdownoptions) |
30 |
| -* [HTML](#html) |
31 |
| -* [Syntax](#syntax) |
32 |
| -* [Syntax tree](#syntax-tree) |
33 |
| - * [Nodes](#nodes) |
34 |
| - * [Mixin](#mixin) |
35 |
| - * [Content model](#content-model) |
36 |
| -* [Types](#types) |
37 |
| -* [Compatibility](#compatibility) |
38 |
| -* [Related](#related) |
39 |
| -* [Contribute](#contribute) |
40 |
| -* [License](#license) |
| 15 | +* [What is this?](#what-is-this) |
| 16 | +* [When to use this](#when-to-use-this) |
| 17 | +* [Install](#install) |
| 18 | +* [Use](#use) |
| 19 | +* [API](#api) |
| 20 | + * [`mdxJsxFromMarkdown()`](#mdxjsxfrommarkdown) |
| 21 | + * [`mdxJsxToMarkdown(options?)`](#mdxjsxtomarkdownoptions) |
| 22 | + * [`MdxJsxAttribute`](#mdxjsxattribute) |
| 23 | + * [`MdxJsxAttributeValueExpression`](#mdxjsxattributevalueexpression) |
| 24 | + * [`MdxJsxExpressionAttribute`](#mdxjsxexpressionattribute) |
| 25 | + * [`MdxJsxFlowElement`](#mdxjsxflowelement) |
| 26 | + * [`MdxJsxFlowElementHast`](#mdxjsxflowelementhast) |
| 27 | + * [`MdxJsxTextElement`](#mdxjsxtextelement) |
| 28 | + * [`MdxJsxTextElementHast`](#mdxjsxtextelementhast) |
| 29 | + * [`ToMarkdownOptions`](#tomarkdownoptions) |
| 30 | +* [HTML](#html) |
| 31 | +* [Syntax](#syntax) |
| 32 | +* [Syntax tree](#syntax-tree) |
| 33 | + * [Nodes](#nodes) |
| 34 | + * [Mixin](#mixin) |
| 35 | + * [Content model](#content-model) |
| 36 | +* [Types](#types) |
| 37 | +* [Compatibility](#compatibility) |
| 38 | +* [Related](#related) |
| 39 | +* [Contribute](#contribute) |
| 40 | +* [License](#license) |
41 | 41 |
|
42 | 42 | ## What is this?
|
43 | 43 |
|
@@ -256,8 +256,8 @@ overwrite them!
|
256 | 256 |
|
257 | 257 | ###### Parameters
|
258 | 258 |
|
259 |
| -* `options` ([`ToMarkdownOptions`][api-to-markdown-options]) |
260 |
| - — configuration |
| 259 | +* `options` ([`ToMarkdownOptions`][api-to-markdown-options]) |
| 260 | + — configuration |
261 | 261 |
|
262 | 262 | ###### Returns
|
263 | 263 |
|
@@ -388,19 +388,19 @@ Configuration (TypeScript type).
|
388 | 388 |
|
389 | 389 | ##### Fields
|
390 | 390 |
|
391 |
| -* `quote` (`'"'` or `"'"`, default: `'"'`) |
392 |
| - — preferred quote to use around attribute values |
393 |
| -* `quoteSmart` (`boolean`, default: `false`) |
394 |
| - — use the other quote if that results in less bytes |
395 |
| -* `tightSelfClosing` (`boolean`, default: `false`) |
396 |
| - — do not use an extra space when closing self-closing elements: `<img/>` |
397 |
| - instead of `<img />` |
398 |
| -* `printWidth` (`number`, default: `Infinity`) |
399 |
| - — try and wrap syntax at this width. |
400 |
| - When set to a finite number (say, `80`), the formatter will print |
401 |
| - attributes on separate lines when a tag doesn’t fit on one line. |
402 |
| - The normal behavior is to print attributes with spaces between them instead |
403 |
| - of line endings |
| 391 | +* `quote` (`'"'` or `"'"`, default: `'"'`) |
| 392 | + — preferred quote to use around attribute values |
| 393 | +* `quoteSmart` (`boolean`, default: `false`) |
| 394 | + — use the other quote if that results in less bytes |
| 395 | +* `tightSelfClosing` (`boolean`, default: `false`) |
| 396 | + — do not use an extra space when closing self-closing elements: `<img/>` |
| 397 | + instead of `<img />` |
| 398 | +* `printWidth` (`number`, default: `Infinity`) |
| 399 | + — try and wrap syntax at this width. |
| 400 | + When set to a finite number (say, `80`), the formatter will print |
| 401 | + attributes on separate lines when a tag doesn’t fit on one line. |
| 402 | + The normal behavior is to print attributes with spaces between them instead |
| 403 | + of line endings |
404 | 404 |
|
405 | 405 | ## HTML
|
406 | 406 |
|
@@ -590,12 +590,12 @@ This utility works with `mdast-util-from-markdown` version 2+ and
|
590 | 590 |
|
591 | 591 | ## Related
|
592 | 592 |
|
593 |
| -* [`micromark/micromark-extension-mdx-jsx`][micromark-extension-mdx-jsx] |
594 |
| - — support MDX JSX in micromark |
595 |
| -* [`syntax-tree/mdast-util-mdx`][mdast-util-mdx] |
596 |
| - — support MDX in mdast |
597 |
| -* [`remarkjs/remark-mdx`][remark-mdx] |
598 |
| - — support MDX in remark |
| 593 | +* [`micromark/micromark-extension-mdx-jsx`][micromark-extension-mdx-jsx] |
| 594 | + — support MDX JSX in micromark |
| 595 | +* [`syntax-tree/mdast-util-mdx`][mdast-util-mdx] |
| 596 | + — support MDX in mdast |
| 597 | +* [`remarkjs/remark-mdx`][remark-mdx] |
| 598 | + — support MDX in remark |
599 | 599 |
|
600 | 600 | ## Contribute
|
601 | 601 |
|
|
0 commit comments