Skip to main content

parse_label_markup

Function parse_label_markup 

Source
pub fn parse_label_markup(raw: &str, base: FaceStyle) -> Vec<ChemGlyph>
Expand description

Expand chem-label markup into outlined glyphs.

base is the call default face (Regular unless the caller passes Bold); markup bold/italic OR on top of it.