FencedCodeBlock Class

Represents a fenced code block in a markdown document: ``` or ~~~.

Inheritance

Object

Markdown.Block

Markdown.Leaf

Markdown.FencedCodeBlock

Namespace: Radzen.Blazor.Markdown

Assembly: Radzen.Blazor.dll

Syntax

public class FencedCodeBlock : Markdown.Leaf, Markdown.INode, Markdown.IBlockInlineContainer

Constructors

FencedCodeBlocklink

Represents a fenced code block in a markdown document: ``` or ~~~.

Declaration
public FencedCodeBlock()

Properties

Delimiterlink

The delimiter used to start and end the code block.

Declaration
public string Delimiter { get; }
Property Value
Type Description
stringThe delimiter used to start and end the code block.

Infolink

The info string of the code block. This is the first line of the code block and is used to specify the language of the code block.

Declaration
public string Info { get; }
Property Value
Type Description
stringThe info string of the code block. This is the first line of the code block and is used to specify the language of the code block.

Methods

Acceptlink

Declaration
public override void Accept(Markdown.INodeVisitor visitor)
Parameters
Type Name Description
Markdown.INodeVisitor visitor
An error has occurred. This app may no longer respond until reloaded. Reload 🗙