pub fn inline_file<P: AsRef<Path>>(
file_path: P,
config: Config,
) -> Result<String, FilePathError>Expand description
Returns a Result<String, FilePathError> of the html file at file path with all the assets inlined.
ยงArguments
file_path- The path of the html file.inline_fonts- Pass a config file to select what features to enable. UseDefault::default()to enable everything