Function parse_details

Source
pub fn parse_details(input: &str) -> String
Expand description

Parse the markdown syntax for the expandable <details> element.

Similar to the parse_page page definitions, details elements are denoted with two ampersand symbols. The opening line should look like && [summary].

The block is closed with a line of exactly two ampersand symbols.

ยงExample

&& other summary
this element starts closed, but can be expanded
&&