Function split_spans
pub fn split_spans(
spans: Vec<RichSpan>,
emoji: &WorkspaceEmoji,
) -> Vec<RichSpan>Expand description
spans with every :name: of an emoji emoji has split out as a run of
its own marked RichSpan::workspace_emoji, in the style of the run it
was written in. Code (monospaced runs) stays as written.