Example of Default Functionalities in ASP.NET MVC Markdown Editor Control
This sample demonstrates markdown editing in the Rich Text Editor with complete features.
DEMO
SOURCE
The Rich Text Editor supports markdown editing when the editorMode
is set to mode property of the Rich Text Editor.
The editor’s toolbar contains commands to format the markdown content. The toolbar consists of:
Lists
- Ordered and unordered list types.Links
- A hyperlink can be inserted into the editor for quick access to related information.Image
- Inserts and manages images.Alignment
- Aligns the content with left, center, and right margins.Format
– Formats the sentence in different ways such as heading level, quotation, and code snippetStyles
– Allows you to apply inline styles to the selected content like bold, italic, and more.Tables
– Allows you to insert a table with header.
The third-party library Marked
is used in this sample to convert markdown into HTML content.