pub fn character_format_from_span(
span: &ParsedSpan,
is_code_block: bool,
) -> CharacterFormatExpand description
Convert a ParsedSpan (parser output) into the CharacterFormat used by
FormatRun. is_code_block forces monospace as the font family for
every span inside a code block.