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.