Skip to content

Interface: ToMarkdownOptions ​

Options for toMarkdown().

Properties ​

PropertyTypeDescription
extensionsreadonly Extension[]The same extensions the editor uses.
marks?Readonly<Record<string, MarkdownMarkSerializer>>Custom delimiters per mark name, checked before the built-ins.
nodes?Readonly<Record<string, (node, context) => string>>Custom output per node type name, checked before the built-ins.