archive
/
md-pdf-rs
Archived
1
Fork 0
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.
md-pdf-rs/src/output/mod.rs

11 lines
233 B
Rust

use config::{Config, OutputType};
pub mod pdf;
pub fn output(config: Config, output: String) -> Result<(), String> {
if config.has_output(OutputType::PDF) {
try!(pdf::output(config, output));
}
return Ok(());
}