libappstream::functions

Function markup_convert

source
pub fn markup_convert(
    markup: &str,
    to_kind: MarkupKind,
) -> Result<GString, Error>
Expand description

Converts XML description markup into other forms of text.

§markup

the XML markup to transform.

§to_kind

The markup style to convert into.

§Returns

a newly allocated string, or None on error.