Expand description
MBTerm: safe CommonMark and restricted BBCode rendering for ANSI terminals.
Structs§
- Parse
Color Error - Renderer
- Renders Markdown and restricted BBCode into ANSI terminal text.
- Text
Style - Theme
- Named BBCode styles such as
[warning]...[/warning]. - Theme
Error
Enums§
- Basic
Color - Blink
Style - Color
- Corner
Style - Outer-corner glyphs used by framed blocks and tables.
- Underline
Style
Functions§
- escape
- Escape untrusted text so Markdown and BBCode both render it literally.
- strip_
bbcode - strip_
osc8_ sequences - Remove OSC 8 hyperlink boundaries while preserving their visible labels and every other terminal sequence, including SGR text styling.
- strip_
terminal_ sequences - Remove CSI, OSC, string controls, and other terminal sequences from
input.