Skip to main content

render_template

Function render_template 

Source
pub fn render_template(
    content: &str,
    data: &HashMap<String, Value>,
) -> MdtResult<String>
Expand description

Render provider content through minijinja using the given data context. If data is empty or the content has no template syntax, returns the content unchanged.