fast-rich 0.2.0

A Rust port of Python's Rich library for beautiful terminal formatting
Documentation
────────────────────────────────────────────────────────────────────────────────────── Syntax Highlighting Features ──────────────────────────────────────────────────────────────────────────────────────
──────────────────────────────────────────────────────────────────────────────────────── Rust (Monokai, Line 10) ─────────────────────────────────────────────────────────────────────────────────────────
╭── rust ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│   10 │ fn main() {
  11 │     println!("Hello, World!");
→ 12 │     let x = 42;
  13 │     // This is a comment
  14 │ }                                                                               │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯


──────────────────────────────────────────────────────────────────────────────── Python (InspiredGitHub, No Line Numbers) ────────────────────────────────────────────────────────────────────────────────
╭── python ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ def hello(name):
    """Greets the user."""
    print(f"Hello, {name}!")
    return True                                                                                                               │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯


──────────────────────────────────────────────────────────────────────────────────────────── JSON (No Panel) ─────────────────────────────────────────────────────────────────────────────────────────────
  1 │ {
  2 │   "name": "rich-rust",
  3 │   "version": "0.1.0",
  4 │   "features": ["syntax", "markdown"]
  5 │ }