pub fn format_with_width(content: &str, width: usize) -> String
Format typst content by Typstyle configured with given max_width.
It returns the original string if the source is erroneous.