Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 2 KB

File metadata and controls

39 lines (27 loc) · 2 KB
layout post
title Customize Markdown Syntax in Blazor Markdown Editor | Syncfusion®
description Learn how to customize Markdown syntax in the Blazor Markdown Editor component, including formatting options, toolbar customization, and more.
platform Blazor
control MarkdownEditor
documentation ug

Customizing Markdown Syntax in Blazor Markdown Editor Component

The Rich Text Editor allows you to customize the Markdown syntax by overriding its default behavior. You can configure custom Markdown syntax using the following properties:

Defining Custom Markdown Formatting

You can define custom symbols for various Markdown formatting options:

  • Use + for unordered lists instead of -.
  • Use __text__ for bold text instead of **text**.
  • Use _text_ for italic text instead of *text*.

The following example demonstrates how to customize Markdown tags in the editor:

{% tabs %} {% highlight razor %}

{% include_relative code-snippet/markdown-custom-formats.razor %}

{% endhighlight %} {% endtabs %}

Blazor RichTextEditor markdown custom list

Blazor RichTextEditor markdown custom format

Blazor RichTextEditor markdown custom selection