pub fn process_text(input: &str) -> Line<'static>Expand description
Process text with emoji and markdown formatting.
Processing order:
- Backticks (code) - processed first, content protected from further formatting
- Emoji replacement - applied to text segments only
- Bold (text) and italic (text) - applied to text segments only
Returns a Line containing styled Spans for Ratatui rendering.
ยงExamples
let line = process_text("This is *bold* and :) `code`");
// Returns: Line with styled spans: "This is ", bold("bold"), " and ๐ ", code("code")