pub mod pandoc; pub mod process; use config::Config; pub fn build_input(config: Config, input: String) -> Result { let html = try!(pandoc::render(config.clone(), input)); let rendered = try!(process::render(config.clone(), html)); return Ok(rendered); }