Type Editor / @type-editor/markdown / types/MarkdownSerializerOptions / MarkdownSerializerOptions
Interface: MarkdownSerializerOptions
Defined in: types/MarkdownSerializerOptions.ts:11
Extends
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
escapeExtraCharacters? | RegExp | Extra characters can be added for escaping. This is passed directly to String.replace(), and the matching characters are preceded by a backslash. | - | types/MarkdownSerializerOptions.ts:17 |
hardBreakNodeName? | string | Specify the node name of hard breaks. Defaults to "hard_break" | - | types/MarkdownSerializerOptions.ts:22 |
strict? | boolean | By default, the serializer raises an error when it finds a node or mark type for which no serializer is defined. Set this to false to make it just ignore such elements, rendering only their content. | - | types/MarkdownSerializerOptions.ts:29 |
tightLists? | boolean | Whether to render lists in a tight style. This can be overridden on a node level by specifying a tight attribute on the node. Defaults to false. | MarkdownSerializeOptions.tightLists | types/MarkdownSerializerOptions.ts:8 |