[][src]Crate mercurius

Structs

After

An iterator places events after the first occurrence of certain event.

Banner
Before

An iterator places events before the first occurence of certain event.

Bottom

Contains nothing, like Empty, and the FrontMatter data is None, ⊥.

FrontMatter

The frontmatter in a Markdown file.

Head

An iterator places events at the start of the original one.

InlineStr

An inline string that can contain almost three words of utf-8 text.

IterWith

An iterator link another iterator, lazily.

Link

An iterator links two MarkdownExt.

OffsetIter

Markdown event and source range iterator.

Options

Option struct containing flags for enabling extra features that are not part of the CommonMark spec.

Parser

A wrapper for the RawParser.

Raw

A naive MarkdownExt implementor.

RawParser

Markdown event iterator.

ReadableDate

ReadableDate wraps a date and could be (de)serialize with format like Apr 4, 2010.

Render
Share

Either strong or weak reference-counting pointer.

Tail

An iterator places events at the end of the original one.

Within

An iterator maps function upon events within two specific events.

Enums

Alignment

Table column text alignment.

CodeBlockKind

Codeblock kind.

CowStr

A copy-on-write string that can be owned, borrowed or inlined.

Error

An enum contains all errors that might occur.

Event

Markdown events that are generated in a preorder traversal of the document tree, with additional End events whenever all of an inner node's children have been visited.

Lang
LinkType

Type specifier for inline links. See the Tag::Link for more information.

Status

The status of the file. This is reserved for future usage,

Tag

Tags for elements that can contain other elements.

Traits

MarkdownExt

Extending the original markdown events iterator

Type Definitions

Result

A specialized Result type for markdown operations.