pub fn inline_to<W: Write>(html: &str, target: &mut W) -> Result<(), InlineError>
Expand description

Shortcut for inlining CSS with default parameters and writing the output to a generic writer.

Errors

Inlining might fail for the following reasons:

  • Missing stylesheet file;
  • Remote stylesheet is not available;
  • IO errors;
  • Internal CSS selector parsing error;