The rich-text editor's MarkdownEditingStrategy uses this
interface to convert Markdown source text into an HTML string for
the live preview pane.
The library ships a lightweight built-in converter that covers
headings, bold, italic, lists, links, images, code blocks, and
blockquotes. For full CommonMark / GFM support, consumers can
provide their own implementation backed by a third-party parser
such as marked or markdown-it.
Example
// Using the built-in converter (default — nothing to configure) <ui-rich-text-editormode="markdown" />
A pluggable Markdown-to-HTML converter.
The rich-text editor's
MarkdownEditingStrategyuses this interface to convert Markdown source text into an HTML string for the live preview pane.The library ships a lightweight built-in converter that covers headings, bold, italic, lists, links, images, code blocks, and blockquotes. For full CommonMark / GFM support, consumers can provide their own implementation backed by a third-party parser such as
markedormarkdown-it.Example