Syntax highlighting — equivalent to Rich’s syntax.py.
syntax.py
Uses syntect for syntax highlighting (Rust equivalent of Pygments).
syntect