process

Function process 

Source
pub fn process(input: &str) -> Document
Expand description

This function takes an input &str in the desired template format and generates a document. If the document has answers you should use process_with_answers.

§Arguments

  • input - A string slice that holds the template contents for the Document

§Examples

use morphius;
let doc = morphius::process("Document Contents");