| 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 |
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:
- RichTextEditorMarkdownOptions.ListSyntax
- RichTextEditorMarkdownOptions.FormatSyntax
- RichTextEditorMarkdownOptions.SelectionSyntax
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 %}


