Skip to content
Auto
Products

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 MarkdownElement

Inheritance: object → MarkdownElement

Derived:

protected MarkdownElement()

Writes the element into renderer.

protected internal virtual void Resolve(MarkdownRenderer renderer)

Returns the element written with MarkdownFormat.Default.

public virtual string ToString()

string

Returns the element written with the given format.

public string ToString(MarkdownFormat format)

string

Writing makes format read-only.

Writes the element to stream as UTF-8 without a byte order mark.

public void WriteTo(Stream stream)

The content is sent as it is produced, and the stream is left open.

Writes the element to stream as UTF-8 without a byte order mark.

public void WriteTo(Stream stream, MarkdownFormat format)

The content is sent as it is produced, and the stream is left open.

Writes the element to writer.

public void WriteTo(TextWriter writer)

The content is sent as it is produced, and the stream is left open.

Writes the element to writer.

public void WriteTo(TextWriter writer, MarkdownFormat format)

The content is sent as it is produced, and the stream is left open.