Skip to content

createMarkdownPreviewPlugin

createMarkdownPreviewPlugin(options?): EditorPlugin

Renders markdown as formatted text while the buffer keeps holding markdown source: fences hide, headings drop their #, and the source under the caret comes back so it stays editable as text. Links keep their targets on rendered anchors; pipe tables preserve their source column widths.

MarkdownPreviewPluginOptions

EditorPlugin