MarkdownText
Namespace: Markdown
Markdown text.
public class MarkdownText : MarkdownInlineElement
Inheritance Object → MarkdownTextElement → MarkdownInlineElement → MarkdownText
Properties
Text
Gets or sets the text.
public string Text { get; }
Property Value
String
The text or a string that represents the markdown text.
Constructors
MarkdownText(String)
Initializes a new instance of the MarkdownText class.
public MarkdownText(string text)
Parameters
text
String
The text.
MarkdownText(MarkdownInlineElement)
Initializes a new instance of the MarkdownText class.
public MarkdownText(MarkdownInlineElement inlineElement)
Parameters
inlineElement
MarkdownInlineElement
The text as markdown inline element.
Methods
Append(String)
Appends the specified text to this instance.
public MarkdownText Append(string text)
Parameters
text
String
The text to append.
Returns
MarkdownText
The markdown text.
Append(MarkdownInlineElement)
Appends the specified markdown inline element to this instance.
public MarkdownText Append(MarkdownInlineElement inlineElement)
Parameters
inlineElement
MarkdownInlineElement
The markdown inline element to append.
Returns
MarkdownText
The markdown text.
ToString()
Returns a string that represents the current markdown text.
public string ToString()
Returns
String
A string that represents the current markdown text.