MarkdownEditorCommands Class

Contains the names of the commands supported by RadzenMarkdownEditor. Pass them to RadzenMarkdownEditor.ExecuteCommandAsync.

Inheritance

Object

MarkdownEditorCommands

Namespace: Radzen

Assembly: Radzen.Blazor.dll

Syntax

public static class MarkdownEditorCommands

Fields

BoldLink to this section

Wraps the selection in **.

Declaration
public static string Bold

CodeLink to this section

Wraps the selection in backticks.

Declaration
public static string Code

CodeBlockLink to this section

Wraps the selection in a fenced code block.

Declaration
public static string CodeBlock

FormatBlockLink to this section

Makes the selected paragraphs headings of the level given as value (h1 to h6) or normal text (p).

Declaration
public static string FormatBlock

HorizontalRuleLink to this section

Inserts a horizontal rule (---) on its own line.

Declaration
public static string HorizontalRule

ImageLink to this section

Wraps the selection in a Markdown image. The command value is the image URL.

Declaration
public static string Image

InsertTableLink to this section

Inserts a table. The value is the size as rows x columns, for example 3x3.

Declaration
public static string InsertTable

InsertTextLink to this section

Replaces the selection with the command value.

Declaration
public static string InsertText

ItalicLink to this section

Wraps the selection in *.

Declaration
public static string Italic

OrderedListLink to this section

Prefixes the selected lines with 1. , 2. , …

Declaration
public static string OrderedList

QuoteLink to this section

Prefixes the selected lines with > .

Declaration
public static string Quote

RedoLink to this section

Restores the next state from the editor's history.

Declaration
public static string Redo

StrikethroughLink to this section

Wraps the selection in ~~.

Declaration
public static string Strikethrough

TableAlignLink to this section

Sets the alignment of the current table column. The value is left, center, right or none.

Declaration
public static string TableAlign

TableColumnAfterLink to this section

Inserts a table column after the current column.

Declaration
public static string TableColumnAfter

TableColumnBeforeLink to this section

Inserts a table column before the current column.

Declaration
public static string TableColumnBefore

TableDeleteLink to this section

Deletes the current table.

Declaration
public static string TableDelete

TableDeleteColumnLink to this section

Deletes the current table column.

Declaration
public static string TableDeleteColumn

TableDeleteRowLink to this section

Deletes the current table row.

Declaration
public static string TableDeleteRow

TableRowAfterLink to this section

Inserts a table row below the current row.

Declaration
public static string TableRowAfter

TableRowBeforeLink to this section

Inserts a table row above the current row.

Declaration
public static string TableRowBefore

TaskListLink to this section

Prefixes the selected lines with - [ ] .

Declaration
public static string TaskList

UndoLink to this section

Restores the previous state from the editor's history.

Declaration
public static string Undo

UnorderedListLink to this section

Prefixes the selected lines with - .

Declaration
public static string UnorderedList
In This Article
An error has occurred. This app may no longer respond until reloaded. Reload 🗙