1using System.Threading.Tasks;
46 internal override bool JoinOverParagraphs =>
true;
66 base.AddChild(NewChild);
78 while (!(Loop is
null))
80 for (i = Loop.
Start, c = Loop.
Pos; i < c; i++)
Contains a markdown document. This markdown document class supports original markdown,...
Contains some basic statistical information about a Markdown document.
int NrDefinitionLists
Number of definition lists.
int NrLists
Number of lists (total).
Abstract base class for block elements with children.
Represents a definition list in a markdown document.
DefinitionList(MarkdownDocument Document, params MarkdownElement[] Children)
Represents a definition list in a markdown document.
override void AddChild(MarkdownElement NewChild)
Adds a child to the element.
override void AddChildren(ChunkedList< MarkdownElement > NewChildren)
Adds children to the element.
DefinitionList(MarkdownDocument Document, ChunkedList< MarkdownElement > Children)
Represents a definition list in a markdown document.
override bool InlineSpanElement
If the element is an inline span element.
override bool OutsideParagraph
If element, parsed as a span element, can stand outside of a paragraph if alone in it.
override void IncrementStatistics(MarkdownStatistics Statistics)
Increments the property or properties in Statistics corresponding to the element.
override Task Render(IRenderer Output)
Renders the element.
override MarkdownElementChildren Create(ChunkedList< MarkdownElement > Children, MarkdownDocument Document)
Creates an object of the same type, and meta-data, as the current object, but with content defined by...
Abstract base class for all markdown elements with a variable number of child elements.
virtual void AddChildren(ChunkedList< MarkdownElement > NewChildren)
Adds children to the element.
MarkdownElement LastChild
Last child, or null if none.
override ChunkedList< MarkdownElement > Children
Any children of the element.
bool HasLastChild
If there is a last item.
Abstract base class for all markdown elements.
MarkdownDocument Document
Markdown document.
Node referencing a chunk in a ChunkedList<T>
ChunkNode< T > Next
Next chunk
int Pos
Index after the last element in chunk.
int Start
Index of first element in chunk.
A chunked list is a linked list of chunks of objects of type T .
ChunkNode< T > FirstChunk
First chunk
Interface for Markdown renderers.