The definitions used in the markdown specification.
The root element of a document.
A blockquote element. It can have block children.
A code block element.
Hard break is an inline leaf which represents a line break in a document.
A heading element. It can have inline children. It supports one integer attribute level,
which defaults to 1 if not set.
A horizontal rule element. It is a block leaf, e.g. it can have no children.
An inline image. It can have three different string attributes:
src is the uri of the image to showalt is the alt text of the imagetitle is the title of the imageA paragraph element. It can have inline children.
A list item element definition. It can have block children.
An ordered list element definition. It can have list item children.
An unordered list element definition. It can have list item children.
A bold mark definition.
A code mark definition.
An italic mark definition.
A link mark definition. It can have two different string attributes:
href is the url to link totitle is the title of the link
A spec which is compatible with the CommonMark flavor of markdown.