Skip to main content

parse_anchor_element

Function parse_anchor_element 

Source
pub fn parse_anchor_element(
    element: &ElementRef<'_>,
    converter: &HtmlToMarkdown,
) -> Result<Option<ParsedSection>>
Expand description

Parse a generic anchor-bearing element (tr, dt, section, li) into a ParsedSection. W3C specs use these as named targets that don’t fit the dfn/heading pattern.