Expand description
Markdown rendering utilities. Markdown parsing utilities for TUI rendering
Uses pulldown-cmark for CommonMark parsing.
Enums§
- Content
Segment - Content segment type for splitting text and tables
Functions§
- detect_
heading_ level - Check if text starts with a heading marker using pulldown-cmark
- heading_
style - Get style for heading level
- parse_
to_ spans - Parse markdown text into styled ratatui spans
- parse_
to_ styled_ words - Parse markdown and split into words with their styles
- render_
markdown_ with_ prefix - Render markdown content with diamond prefix and manual wrapping
- split_
content_ segments - Split content into text, table, and code block segments
- wrap_
with_ prefix - Wrap text with a first-line prefix and continuation prefix