pub fn split_tokens(text: &str) -> impl Iterator<Item = Part<'_>>
Splits text into plain text and {tokens}.
text
{tokens}