< Back


MarkdownInlineCode

Namespace: Markdown

Markdown inline code.

public class MarkdownInlineCode : MarkdownInlineElement

Inheritance ObjectMarkdownTextElementMarkdownInlineElementMarkdownInlineCode

Properties

Text

Gets or sets the text.

public string Text { get; set; }

Property Value

String
The text or a string that represents the markdown inline element.

Constructors

MarkdownInlineCode(String)

Initializes a new instance of the MarkdownInlineCode class.

public MarkdownInlineCode(string code)

Parameters

code String
The code.

MarkdownInlineCode(MarkdownInlineElement)

Initializes a new instance of the MarkdownInlineCode class.

public MarkdownInlineCode(MarkdownInlineElement inlineElement)

Parameters

inlineElement MarkdownInlineElement
The code as markdown inline element.

Methods

ToString()

Returns a string that represents the current markdown code.

public string ToString()

Returns

String
A string that represents the current markdown code.


< Back