Skip to content

Gallery

Everything here is rendered by the library and exported with Console::export_svg, by scripts/capture_screenshots.sh. If rendering changes, these images change with it — they cannot go stale.

Markup

Tags nest, and \[ escapes a literal bracket.

Console markup

Automatic highlighting

No markup required — numbers, paths, URLs, UUIDs and booleans are recognised and coloured, exactly as upstream does.

Automatic highlighting

Tables

Table

Columns size themselves to their content, wrap when they must, and take per-column justification. Borders, titles and captions are all styleable.

Styled table

Panels

Panel

Trees

Tree

Columns

Items are packed into as many equal columns as the width allows.

Columns

Rules

Rule

Alignment and padding

Alignment

Markdown

Markdown

Syntax highlighting

Syntax highlighting

Not byte-parity

Syntax highlighting uses syntect, not Pygments. The colours are close but not identical to Python rich — see Divergences.

JSON

JSON

Pretty-printing

Pretty

Progress

Progress

Spinners

Spinner

Text overflow

The same over-long word under each overflow method.

Overflow