Skip to main content

render_person

Function render_person 

Source
pub fn render_person(
    node: &NodeOutput,
    cases: &[(String, String)],
    config: &HtmlConfig,
) -> Result<String, String>
Expand description

Generate a person page HTML fragment.

ยงErrors

Returns an error if the rendered HTML exceeds [MAX_FRAGMENT_BYTES].