Tutorial¶
Six short chapters that build from a single styled line to a live progress display and the command-line tool.
Every code block is real, compiled code — the examples are checked against the library, and the images are rendered by it.
- 1. Your first output — the
Console, and why it behaves differently when piped. - 2. Markup and style — tags, themes, and automatic highlighting.
- 3. Tables — columns, justification, wrapping and overflow.
- 4. Layout — panels, trees, columns, rules, alignment.
- 5. Progress and live output — bars, spinners, refreshing in place.
- 6. The CLI — rendering files, and exporting HTML/SVG.
Following along¶
Remember: the package is rs-rich, the use line is rich.