Skip to main content

Crate mbterm

Crate mbterm 

Source
Expand description

MBTerm: safe CommonMark and restricted BBCode rendering for ANSI terminals.

Structs§

ParseColorError
Renderer
Renders Markdown and restricted BBCode into ANSI terminal text.
TextStyle
Theme
Named BBCode styles such as [warning]...[/warning].
ThemeError

Enums§

BasicColor
BlinkStyle
Color
CornerStyle
Outer-corner glyphs used by framed blocks and tables.
UnderlineStyle

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.