bat
A cat clone with syntax highlighting and Git integration
Text & File Viewing
Rust
thay thế cat, less
bat is a cat replacement that supports syntax highlighting for a large number of programming and markup languages, Git integration, and automatic paging.
Cài đặt
brew
brew install bat
cargo
cargo install bat --locked
apt
apt install bat
Demo
▶ GIF
Finding and Fixing a Bug — Part 2: Inspect and Review the Fix
@agentgif
▶ GIF
Exploring a New Codebase — Part 1: Project Overview
@agentgif
▶ GIF
Code Review Workflow — Part 2: Benchmark Before and After
@agentgif
▶ GIF
bat — bat vs cat
@agentgif
▶ GIF
bat --diff — show Git changes with syntax highlighting
@agentgif
▶ GIF
cat — bat vs cat
@agentgif
▶ GIF
Finding and Fixing a Bug — Part 1: Search for the Error
@agentgif
▶ GIF
bat — Nord theme
@agentgif
▶ GIF
Exploring a New Codebase — Part 2: Code Stats and File Tree
@agentgif
▶ GIF
Code Review Workflow — Part 1: View Diff with delta
@agentgif
▶ GIF
bat script.py — syntax-highlighted file viewer
@agentgif
▶ GIF
bat — Dracula theme
@agentgif
Công cụ liên quan
glow
Render Markdown on the CLI with glamour and style
mdcatcat for Markdown — render Markdown documents in the terminal
freezeGenerate images of code and terminal output — by Charm
siliconCreate beautiful image of your source code from the terminal
slidesTerminal-based presentation tool using Markdown
CharmThe Charm Tool — a set of tools to make the command line gl…