Syncfusion Feedback

Overview

The Syncfusion Blazor Markdown Editor is a powerful Markdown text editor for Blazor applications that supports both Markdown and HTML editing from a single component. It includes live Markdown preview, automatic Markdown syntax formatting, customizable toolbars, tables, images, links, and seamless switching between Markdown and HTML modes for building blogs, CMS platforms, documentation sites, and note-taking applications.

The component can also be configured as a lightweight Blazor MD editor for applications that require fast and flexible Markdown authoring.


Blazor RTE Markdown editor mode syntax.

Markdown syntax

The Markdown editor mode supports customizable Markdown syntax (MD syntax), allowing users to tailor rules and extend functionality. Integrated with built-in commands, it ensures a flexible, customized editing experience while harmonizing with the editor’s formatting capabilities.


Toolbar with rich set of tools

The Markdown editor toolbar provides a variety of commands for editing and formatting content. The Blazor Markdown WYSIWYG Editor lets users format text, insert images, add headers, create hyperlinks, build lists, and preview results while seamlessly switching between Markdown editing and rich HTML editing using the same API. The commands are grouped based on related functionality.

The Blazor RTE Markdown editor mode with multi-row toolbar.

Multi-row toolbar

The excess toolbar commands are wrapped into the next rows in the Markdown text editor.

The Blazor Markdown editor mode with expanded toolbar.

Expand toolbar

The overflow toolbar commands hidden in the next row become visible when the toolbar is expanded via the expand icon.

The Blazor Markdown editor mode with floating roolbar.

Floating the toolbar

The Markdown editor toolbar doesn’t stick to the top of the editor, but floats within the editor area while you scroll the editor page.

The Blazor RTE Markdown editor mode with custom tools.

Custom tools

Users can also add their own commands (tools) with actions to the toolbar along with the built-in commands to enhance this Markdown text editor.


Editing experience

The Blazor Markdown Editor component offers a comprehensive set of tools and options to enhance the editing experience, enabling users to apply rich text formatting such as bold, italics, underline, and strikethrough. It also supports inserting images, tables, and links, ensuring a seamless and efficient content creation process with Markdown syntax. The component can also be configured as a lightweight Blazor MD editor for applications that require fast and flexible Markdown authoring.

Formatting commands

Users can apply formatting to selected content, whole paragraphs, or specific words or characters:

  • Apply formatting to headings, quotations, code, paragraphs.
  • Bold, italicize, underline, or strikethrough selected words.

Insert images in Blazor RTE Markdown editor mode .

Insert images

Users can insert images in the RTE’s Markdown editor mode from a local path or server path with image alt text and then link URLs to the images.

Insert Markdown hyperlinks in Blazor RTE Markdown editor mode.

Insert or change the hyperlinks with display text in Markdown syntax.


Insert table in Blazor RTE Markdown editor mode.

Insert Markdown table

Users can insert tables with rows and columns in the Markdown editor mode to display grid-like tabular data.


Adding lists

Create ordered (numbered) or unordered (bulleted) lists to organize content Markdown syntax.

Insert Markdown list in RTE Blazor Markdown editor mode.


Markdown text to HTML preview.

Markdown to HTML

Integrating the third-party Markdown parsers like marked or remark allows users to preview Markdown content in an HTML view in the Rich Text Editor by converting Markdown syntax into formatted HTML in real time. This allows users to write Markdown on one side of the editor while instantly viewing the rendered output, improving readability and editing efficiency.


@Mention integration

Engage collaborators with built-in @mention support for seamless interaction within the editor.

Markdown mention integration


Localization in Blazor RTE Markdown editor mode.

Localization

Enabling localization in Markdown editor mode allows users from different locales to customize text direction, language, and numbering formats.

Blazor RTE Markdown editor mode adaptive UI.

Adapts to any resolution

The Markdown editor mode has a highly responsive layout and an optimized design for desktops, tablets, and smartphones. It works well on all mobile phones that use iOS, Android, or Windows OS.

Blazor RTE Markdown editor mode supported themes.

Built-in and customizable themes

The RTE Markdown editor mode is shipped with several built-in themes: Tailwind CSS, Bootstrap 5, Bootstrap 4, Bootstrap, Material, Fabric, Fluent, and high contrast.

Accessibility and screen reader support in Blazor RTE Markdown editor mode.

Accessibility

The Markdown editor view has complete WAI-ARIA accessibility support. The Rich Text Editor UI includes high-contrast visual elements that help visually impaired people to have the best viewing experience. Also, valid UI descriptions are easily accessible through assistive technologies such as screen readers.



Frequently Asked Questions

The Markdown Editor is a mode of the Rich Text Editor component that enables users to write content in Markdown, a lightweight markup language. It provides a user-friendly interface with various formatting tools, facilitating easy content creation and editing.

The Markdown editor mode supports live preview functionality. By integrating the third-party libraries like Marked.js, you can convert Markdown content into HTML and display it in real-time, providing an immediate visual representation of the formatted content.

The Markdown editor mode allows you to restrict the content’s maximum number of characters. This can be useful for scenarios where content length needs to be controlled. You can set this limit using the appropriate configuration options in the editor’s settings.

Yes. The editor can be configured as a lightweight Blazor MD editor while still providing formatting tools, images, tables, links, and Markdown preview.

To enable Markdown mode, set the editorMode property to ‘Markdown’ when initializing the Rich Text Editor. Here’s an example:

Yes, the Markdown editor mode allows customization of the default Markdown syntax. You can override the default syntax by configuring the RichTextEditorMarkdownOptions properties.

Yes. The Syncfusion Blazor Markdown Editor supports both Markdown editing and WYSIWYG HTML editing. Developers can switch between Markdown mode and HTML mode while using the same API.

If you’re looking for a Blazor Markdown library for creating and editing Markdown content, the Syncfusion Blazor Markdown Editor supports Markdown and HTML editing, live Markdown preview, automatic Markdown formatting, customizable toolbars, media insertion, tables, links, and seamless switching between Markdown and WYSIWYG editing within a reusable Blazor component.

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

Struggling to decide on the right product?

Our comprehensive competitor comparison of Blazor components will guide you to the perfect choice.

tick-mark Edit HTML with WYSIWYG tools
tick-mark 25+ interactive demos
tick-mark 860K+ downloads
competitive-banner-FT-image
Scroll up icon