pub fn format<S>(source: S) -> Result<String>where S: AsRef<str>,
Format the raw input source string and return formatted output.