[][src]Function dokkoo::render_snippets

pub fn render_snippets(
    page: &Page,
    text_to_parse: &str,
    collections: &HashMap<String, Vec<Page>>
) -> String

Render all snippets throughout a '.mokkf' file together

Arguments

  • page - The .mokkf file's context as a Page

  • text_to_parse - The text to be parsed

  • collections - Collection store of this build