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
equt_mdparses the markdown into event iterator.equt_md_frontmatterparse the markdown frontmatter into Rust data structure.equt_md_errorcontains all errors in these crates.equt_md_extwraps and extends the crates above for easy using.equt_md_htmlrenders the iterator into HTML.
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 isNone, ⊥. - 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
MarkdownExtimplementor. - 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.
- Code
Block Kind - 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
Endevents whenever all of an inner node’s children have been visited. - Link
Type - Type specifier for inline links. See the Tag::Link for more information.
- Tag
- Tags for elements that can contain other elements.
Traits§
- Markdown
Ext - Extending the original markdown events iterator