Skip to content

Example of Overview in ASP.NET MVC Markdown Editor Control

This example illustrates how to preview Markdown changes within the Markdown Editor. You can input or modify the display text, apply formatting, and observe the Markdown preview alongside. A bar between the editor and the preview resizes them.

The Markdown Editor provides the ability to instantly preview Markdown changes. ShowPreview shows the preview next to the text, PreviewTitle gives it a heading and ResizablePreview adds a bar between the two that you drag (or move with the arrow keys) to resize them. The preview is made by the library itself, and it is made safe: scripts and styles in the text never run.