Function inline_assets::inline_file
source · [−]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