ee67bcb768
Merge pull request 'Fix code wrapping for syntax-highlighted output' (#3) from hotfix/code-wrap into main
main
v0.3.1
dev
Yunxiao Xu2026-04-04 15:06:49 -07:00
e74f9a3c74
Add mouse-scrollable pager with fallback to system pager
Yunxiao Xu2026-04-01 18:23:06 -07:00
e5194a7793
Add AGENTS.md with coding guidelines for agentic agents - Document build/lint/test commands (uv, pytest, ruff, mypy) - Specify code style: imports, formatting, type hints, naming - Outline error handling patterns and CLI conventions - Describe project structure and file type detection
Yunxiao Xu2026-04-01 16:14:51 -07:00
dd45fb05f7
Handle unknown lexer, remove dead _THEMES list, tighten JSON detection - Catch unknown Pygments lexer names and fall back to plain text - Remove unused _THEMES list from cli.py - Only auto-detect JSON when content starts with { or [ to avoid false positives on trivial values like strings or numbers
Yunxiao Xu2026-04-01 16:10:21 -07:00
5db15a8a17
Fix review issues: error handling, stdin TTY hint, narrow exceptions - Handle UnicodeDecodeError and PermissionError for file reading - Show hint when stdin is a TTY and no file given - Narrow JSON fallback exception from Exception to (SyntaxError, ValueError) - Rename 'type' parameter to 'file_type' to avoid shadowing builtin - Remove dead '.R' entry from EXTENSION_MAP
Yunxiao Xu2026-04-01 16:02:56 -07:00
1abfcebc24
Implement rp CLI: rich-print markdown, JSON, code, and more
Yunxiao Xu2026-04-01 15:56:57 -07:00
a1b5e72032
Initial project scaffold with uv
Yunxiao Xu2026-04-01 15:52:58 -07:00