This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
|
pub mod pandoc;
|
|
pub mod process;
|
|
|
|
use config::Config;
|
|
|
|
|
|
pub fn build_input(config: Config, input: String) -> Result<String, String> {
|
|
let html = try!(pandoc::render(input));
|
|
let rendered = try!(process::render(config.clone(), html));
|
|
return Ok(rendered);
|
|
}
|