Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 2.38 KB

File metadata and controls

47 lines (32 loc) · 2.38 KB

MdCodeBlock Class

Namespace: Grynwald.MarkdownGenerator
Assembly: Grynwald.MarkdownGenerator

Represents a fenced code block. For specification see CommonMark -Fenced code blocks.

public sealed class MdCodeBlock : MdLeafBlock

Inheritance: object → MdBlockMdLeafBlock → MdCodeBlock

Constructors

Name Description
MdCodeBlock(string) Initializes a new instance of MdCodeBlock with the specified text.
MdCodeBlock(string, string) Initializes a new instance of MdCodeBlock.

Properties

Name Description
InfoString The info string for the code block (typically used to specify the language of the code in the block)
Text The content of the code block

Methods

Name Description
DeepEquals(MdBlock) Recursively compares the block to the specified instance of MdBlock.

See Also


Documentation generated by MdDocs