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.
More Details...

Loading...
Description

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 RichTextEditor features are segregated into individual feature-wise modules. To use this MarkDown Preview feature we need to inject following services ToolbarService, LinkService, ImageService, MarkdownEditorService into the @NgModule.providers section. The third-party library Marked is used in this sample to convert markdown into HTML content.