Skip to content

Type Editor


Type Editor / @type-editor/markdown / types/MarkdownSerializerOptions / MarkdownSerializerOptions

Interface: MarkdownSerializerOptions

Defined in: types/MarkdownSerializerOptions.ts:11

Extends

Properties

PropertyTypeDescriptionInherited fromDefined in
escapeExtraCharacters?RegExpExtra 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?stringSpecify the node name of hard breaks. Defaults to "hard_break"-types/MarkdownSerializerOptions.ts:22
strict?booleanBy 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?booleanWhether 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.tightListstypes/MarkdownSerializerOptions.ts:8