pub fn styled_to_html(doc: &StyledText, style: DocStyle) -> StringExpand description
Write a styled document as an HTML fragment: one <p> per paragraph, <span style="…"> per
run, with <b>/<i>/<u>/<s>/<code>/<a> where a tag says it more plainly.