Skip to content

Interface: FromMarkdownOptions ​

Options for fromMarkdown().

Properties ​

PropertyTypeDescription
extensionsreadonly Extension[]The same extensions the editor uses.
maxLength?numberLongest accepted input, in characters. Default 1,000,000; longer input throws.
rules?Readonly<Record<string, MarkdownRule>>Custom handling per marked token type (e.g. table, image), checked before the built-ins.