[][src]Module parse_hyperlinks::parser::markdown

This module implements parsers for Markdown hyperlinks.

Functions

md_link

Parse a markdown link. This parser expects to start at the beginning of the link [ to succeed. It returns either Ok((i, (link_text, link_destination, link_title))) or some error.

md_link_ref

Matches a markdown link reference. The caller must guarantee, that the parser starts at first character of the input or at the first character of a line. It returns either Ok((i, (link_text, link_destination, link_title))) or some error.