< Back


MarkdownEmphasis

Namespace: Markdown

Markdown emphasis.

public class MarkdownEmphasis : MarkdownInlineElement

Inheritance ObjectMarkdownTextElementMarkdownInlineElementMarkdownEmphasis

Properties

Char

Gets or sets the emphasis character.

public char Char { get; set; }

Property Value

Char
Emphasis character.

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

MarkdownEmphasis(String)

Initializes a new instance of the MarkdownEmphasis class.

public MarkdownEmphasis(string text)

Parameters

text String
The emphasis text.

MarkdownEmphasis(String, Char)

Initializes a new instance of the MarkdownEmphasis class.

public MarkdownEmphasis(string text, char char)

Parameters

text String
The emphasis text.

char Char
The emphasis character.

MarkdownEmphasis(MarkdownInlineElement)

Initializes a new instance of the MarkdownEmphasis class.

public MarkdownEmphasis(MarkdownInlineElement inlineElement)

Parameters

inlineElement MarkdownInlineElement
The emphasis text as markdown inline element.

MarkdownEmphasis(MarkdownInlineElement, Char)

Initializes a new instance of the MarkdownEmphasis class.

public MarkdownEmphasis(MarkdownInlineElement inlineElement, char char)

Parameters

inlineElement MarkdownInlineElement
The emphasis text as markdown inline element.

char Char
The emphasis character.

Methods

ToString()

Returns a string that represents the current markdown emphasis.

public string ToString()

Returns

String
A string that represents the current markdown emphasis.


< Back