Skip to main content

render_for

Function render_for 

Source
pub fn render_for(token: &str, catalog: &Catalog) -> Option<String>
Expand description

Look the identifier up in the catalog and render a card. Returns None when the token does not match the constraint-identifier convention.