Crate parse_hyperlinks

source ·
Expand description

Library and application for parsing hyperlinks and link reference definitions in Markdown, reStructuredText, Asciidoc and HTML format. The library implements the CommonMark Specification 0.30, reStructuredText Markup Specification (revision 8571, date 2020-10-28), Asciidoctor User Manual, chapter 26 (date 2020-12-03), the HTML 5.2: section 4.5. specification and the Wikitext v1.0.0 specification.

Modules

  • Module providing an iterator over the hyperlinks found in the input text. Consult the documentation of parser::parse::take_link() to see a list of supported markup languages. The iterator resolves link references.
  • This module implements parsers to extract hyperlinks and link reference definitions from text input.
  • A set of functions providing markup source code to HTML renderer, that make hyperlinks clickable.

Functions

  • A parser similar to nom::bytes::complete::take_until(), except that this one does not stop at balanced opening and closing tags. It is designed to work inside the nom::sequence::delimited() parser.