MarkdownElement
Namespace: TagBites.Text.Markdown
Assembly: TagBites.Text.Markdown.dll
Product: TagBites.Text.Markdown v. 2.2.0
The base type of every node of a document.
public abstract class MarkdownElementInheritance: object → MarkdownElement
Derived:
- MarkdownCode
- MarkdownContentElement
- MarkdownHeader
- MarkdownHtml
- MarkdownList
- MarkdownParagraph
- MarkdownTable
- MarkdownThematicBreak
Constructors
Section titled “Constructors”MarkdownElement()
Section titled “MarkdownElement()”protected MarkdownElement()Methods
Section titled “Methods”Resolve(MarkdownRenderer)
Section titled “Resolve(MarkdownRenderer)”Writes the element into renderer.
protected internal virtual void Resolve(MarkdownRenderer renderer)Parameters
Section titled “Parameters”rendererMarkdownRenderer
ToString()
Section titled “ToString()”Returns the element written with MarkdownFormat.Default.
public virtual string ToString()Returns
Section titled “Returns”ToString(MarkdownFormat)
Section titled “ToString(MarkdownFormat)”Returns the element written with the given format.
public string ToString(MarkdownFormat format)Parameters
Section titled “Parameters”formatMarkdownFormat
Returns
Section titled “Returns”Remarks
Section titled “Remarks”Writing makes format read-only.
WriteTo(Stream)
Section titled “WriteTo(Stream)”Writes the element to stream as UTF-8 without a byte order mark.
public void WriteTo(Stream stream)Parameters
Section titled “Parameters”streamStream
Remarks
Section titled “Remarks”The content is sent as it is produced, and the stream is left open.
WriteTo(Stream, MarkdownFormat)
Section titled “WriteTo(Stream, MarkdownFormat)”Writes the element to stream as UTF-8 without a byte order mark.
public void WriteTo(Stream stream, MarkdownFormat format)Parameters
Section titled “Parameters”streamStreamformatMarkdownFormat
Remarks
Section titled “Remarks”The content is sent as it is produced, and the stream is left open.
WriteTo(TextWriter)
Section titled “WriteTo(TextWriter)”Writes the element to writer.
public void WriteTo(TextWriter writer)Parameters
Section titled “Parameters”writerTextWriter
Remarks
Section titled “Remarks”The content is sent as it is produced, and the stream is left open.
WriteTo(TextWriter, MarkdownFormat)
Section titled “WriteTo(TextWriter, MarkdownFormat)”Writes the element to writer.
public void WriteTo(TextWriter writer, MarkdownFormat format)Parameters
Section titled “Parameters”writerTextWriterformatMarkdownFormat
Remarks
Section titled “Remarks”The content is sent as it is produced, and the stream is left open.