[−][src]Function md_inc::transform_files
pub fn transform_files<P: AsRef<Path>>(
parser: ParserConfig,
files: &[P],
prefs: OutputTo
) -> Result<Vec<String>>
Transforms files
Parameters
parser
A parser which contains override configuration and a base directoryfiles
A list of files to be transformedprefs
Output configuration settings
Example
use md_inc::{transform_files, OutputTo, ParserConfig}; transform_files(ParserConfig::default(), &["README.md"], OutputTo::stdout());