Skip to main content

format_markup

Function format_markup 

Source
pub fn format_markup(input: &str) -> String
Expand description

Resolves super/subscript markup in input to Unicode. See the module docs for the syntax. Strings without ^, _, or \ are returned unchanged (and the common case allocates only what it copies).