MarkdownParagraph
Namespace: Markdown
Markdown paragraph.
public class MarkdownParagraph : MarkdownTextElement, IMarkdownBlockElement
Inheritance Object → MarkdownTextElement → MarkdownParagraph
Implements IMarkdownBlockElement
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
MarkdownParagraph(String)
Initializes a new instance of the MarkdownParagraph class.
public MarkdownParagraph(string text)
Parameters
text
String
The paragraph text.
MarkdownParagraph(MarkdownInlineElement)
Initializes a new instance of the MarkdownParagraph class.
public MarkdownParagraph(MarkdownInlineElement inlineElement)
Parameters
inlineElement
MarkdownInlineElement
The paragraph text as markdown inline element.
Methods
ToString()
Returns a string that represents the current markdown paragraph. The paragraph text is trimed.
public string ToString()
Returns
String
A string that represents the current markdown paragraph.