diff --git a/src/build/pandoc.rs b/src/build/pandoc.rs index d46953b..64673d1 100644 --- a/src/build/pandoc.rs +++ b/src/build/pandoc.rs @@ -4,15 +4,6 @@ use std::env::{current_dir, current_exe}; use std::path::PathBuf; use std::error::Error; -fn add_path_hints(pandoc: &mut Pandoc, path: &mut PathBuf) { - let mut out = true; - while out { - pandoc.add_pandoc_path_hint(path); - out = path.pop(); - } -} - - fn execute_pandoc(config: Config, input: String) -> Result { let mut renderer = Pandoc::new(); renderer.set_output_format(pandoc::OutputFormat::Html5, vec![]); @@ -21,8 +12,7 @@ fn execute_pandoc(config: Config, input: String) -> Result