pub fn format(args: Arguments<'_>) -> String
alloc
Render the given attributed Arguments into a String by converting the attributes into HTML elements.
Arguments
String
assert_eq!( stylish::html::format(stylish::format_args!( "Hello {:(fg=red)}", "Ferris" )), "Hello <span style=color:red>Ferris</span>", );