This sample demonstrates how to customize tags of markdown formatting. Type or edit the text and apply the format to view customized markdown syntax. For example, apply “+” to Unordered list.
formatter
property Injecting Module
The Rich Text Editor features are segregated into individual feature-wise modules. To use the above feature, we need to inject following service modules 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.