mbterm 0.1.0

ANSI terminal renderer for MBDown documents
Documentation

mbterm

mbterm renders mbdown documents as safe ANSI terminal text. It provides Unicode-aware wrapping and layout, named semantic styles, restricted BBCode, language-aware fenced-code highlighting, and OSC 8 hyperlinks while removing input terminal control sequences. Its default semantic styles use the Catppuccin Mocha palette and can be overridden with a Theme.

The package also installs the mbterm command:

cargo install mbterm
mbterm document.md
mbterm --corners rounded document.mb
printf '# Hello\n\n[green]Ready[/green]\n' | mbterm

Library users can select the same presentation through Theme::new().with_corner_style(CornerStyle::Rounded). It applies to bordered boxes, fenced code frames, and table outer corners.

See the MBDown 0.1 Language Specification for the core language and the workspace README for terminal theme examples.