pub fn inline_html_string<P: AsRef<Path>>(
html: &str,
root_path: P,
config: Config,
) -> Result<String>Expand description
Returns a Result<String> with all the assets linked in the the html string inlined.
ยงArguments
html- The html string.root_path- The root all relative paths in the html will be evaluated with, usually this is the folder the html file is in.config- Pass a config file to select what features to enable. UseDefault::default()to enable everything