Skip to main content

expand

Function expand 

Source
pub fn expand(
    source: &str,
    known: &[String],
    problems: &mut Vec<String>,
) -> String
Expand description

Replaces the tags of the widgets named in known in Markdown with placeholder elements, leaving code alone, and takes <Notes> out. An unknown capitalized tag, and a Tab outside a Tabs, are reported; an unknown tag is replaced by an error in its place rather than passed through as HTML.