[][src]Module parse_hyperlinks::parser::restructured_text

This module implements parsers for RestructuredText hyperlinks.

Functions

rst_link

Parse a RestructuredText hyperlink. The parser expects to start at the link start (`) to succeed. It returns either Ok((i, (link_name, link_destination, link_title))) or some error. This parser always returns an empty link_title=Cow::Borrowed("").

rst_link_ref

Parse a RestructuredText link references. It returns either Ok((i, (link_name, link_destination, link_title))) or some error. This parser always returns an empty link_title This parser always returns an empty link_title=Cow::Borrowed("").