Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The WPF Markdown Viewer control allows developers to render Markdown content with full formatting support across platforms. It is ideal for displaying documentation, help content, release notes, and other formatted text that uses complex UI layouts. The control supports standard Markdown syntax including headings, bold and italic text, lists, tables, images, and code blocks.


WPF Markdown Viewer code example

Get started quickly with the WPF Markdown Viewer using the following code:

<Window x:Class="GettingStarted.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:GettingStarted"
        xmlns:markdown="clr-namespace:Syncfusion.UI.Xaml.Markdown;assembly=Syncfusion.SfMarkdownViewer.Wpf" 
        mc:Ignorable="d"
        Title="GettingStarted" Height="450" Width="800">
    <Grid>
        <markdown:SfMarkdownViewer x:Name="MarkdownViewer" Source="Welcome to **Markdown Viewer** !"/>
    </Grid>
</Window>
// Create an instance of the MarkdownViewer control
SfMarkdownViewer markdownViewer = new SfMarkdownViewer();
markdownViewer.Source = "Welcome to **Markdown Viewer** !";
this.Content = markdownViewer;

Default rendering

Easily render standard Markdown syntax, including headers, lists, images, tables, code blocks, and more, with clean formatting and a polished layout.

Default Markdown rendering in WPF.


Flexible input sources

Flexible input sources

The control supports Markdown content from various sources, including local .md files, embedded resources, external URLs, and Markdown strings.


Clickable hyperlinks are fully supported, allowing users to customize their appearance and manage click actions to open external URLs or navigate within the app.

Automatic link rendering


Smooth scrolling support in WPF.

Smooth scrolling

Even large Markdown documents scroll smoothly, delivering a responsive and user-friendly reading experience across devices.


Mermaid block template

Mermaid syntax is fully supported, enabling users to embed flowcharts, sequence diagrams, Gantt charts, and other visual diagrams directly within the Markdown Viewer.

Mermaid block support in WPF.


145+ WPF CONTROLS

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion® reduces customers’ development time.
Here are some of their experiences.

See Real Success Stories

Developers around the world trust Syncfusion’s Essential Studio to simplify complex projects and speed up delivery. With a vast library of UI controls, powerful SDKs, and reliable support, Essential Studio helps teams build enterprise-ready applications with confidence.

Read Our Customer Stories


Rated by users across the globe

Transform your applications today by downloading our free evaluation version
Download Free Trial No credit card required.

Syncfusion WPF Resources

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion® is proud to hold the following industry awards.

Up arrow icon