Skip to main content

rich_text

Macro rich_text 

Source
macro_rules! rich_text {
    ($($span:tt)*) => { ... };
}
Expand description

Builds retained rich text with fluent span styling.

String literals become spans automatically. Wrap a dynamic text expression in braces, or use span => expression to provide a prebuilt span.