Crate equt_md_ext

Source
Expand description

§Extended Markdown Iterator

This crate wraps the event iterator created by equt_md to provide a more general while powerful interface.

§Difference between those crates

Re-exports§

pub use equt_md_error as error;
pub use equt_md_frontmatter as frontmatter;

Structs§

After
An iterator places events after the first occurrence of certain event.
Before
An iterator places events before the first occurence of certain event.
Bottom
Contains nothing, like Empty, and the FrontMatter data is None, ⊥.
Head
An iterator places events at the start of the original one.
Link
An iterator links two MarkdownExt.
Options
Option struct containing flags for enabling extra features that are not part of the CommonMark spec.
Parser
A wrapper for the original Parser.
Raw
A naive MarkdownExt implementor.
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.
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.
LinkType
Type specifier for inline links. See the Tag::Link for more information.
Tag
Tags for elements that can contain other elements.

Traits§

MarkdownExt
Extending the original markdown events iterator

Type Aliases§

Result
A specialized Result type for markdown operations.