pub fn to_ratatui_text(body: &str) -> Result<Text<'_>>Expand description
Render body into a ratatui::text::Text suitable for display
inside a Paragraph widget. Delegates the paragraph / emphasis /
code-fence path to tui-markdown.
The returned Text borrows from the input; callers that need
'static (e.g. to stash across frames) call
text_into_owned to deep-clone every span.
§Errors
Currently infallible — tui-markdown surfaces parse issues as
best-effort rendering, not hard failures. Wrapped in Result for
forward-compat with the extras layer.