pub fn transform_files<P: AsRef<Path>>(
parser: ParserConfig,
files: &[P],
prefs: OutputTo,
) -> Result<Vec<String>>Expand description
Transforms files
§Parameters
parserA parser which contains override configuration and a base directoryfilesA list of files to be transformedprefsOutput configuration settings
§Example
use md_inc::{transform_files, OutputTo, ParserConfig};
transform_files(ParserConfig::default(), &["README.md"], OutputTo::stdout());