This sample demonstrates how to preview markdown changes in Rich Text Editor. Type or edit the display text, and apply format to view the preview of markdown. You can preview the markdown changes immediately in the preview area.
The Rich Text Editor allows you to preview markdown changes immediately using preview. The third-party library Marked is used in this sample to convert markdown into HTML content. Injecting Module The above features built as modules have to be included in your application. For example, to use image and link, inject the specific module using RichTextEditor.Inject (Toolbar, Link, Image, MarkdownEditor). The third-party library Marked is used in this sample to convert markdown into HTML content.