All apps/Rich

Rich

rich

Render rich text, markdown, code and tables in the terminal.

Runs as rich|macOS, Linux, Windows

Command form

ai-draft · 2 tasks · 12 fields

Show a file, URL or markup with Rich formatting. Covers format, syntax and panel options only.

Opens the form; the finished command lands at your prompt, unrun
otty gui rich
Render with RichExample values, fixed in this page — nothing here reaches a terminal
Basic
File, URL or text*
string
Render as markdown set by task
-m
Use pager
--pager
TasksEach one presets the form for one job
View markdown
sourcemarkdownpager
View highlighted code
sourcesyntaxline_numbersthemeheadtail
ParametersOnly these flags are editable in the form
File, URL or text
string · positional 0
Render as markdown
boolean
-m--markdown
Render as JSON
boolean
-j--json
Render CSV as table
boolean
--csv
Syntax highlighting
boolean
--syntax
Line numbers
boolean
-n--line-numbers
Syntax theme
string
--themedefaultgithub-darkbwxcode
First N lines
integer
-h--head
Last N lines
integer
-t--tail
Panel box
string
-a--panelroundedsquaredoubleheavyascii
Panel title
string
--title
Use pager
boolean
--pager
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed rich against its version. A form that does not match your version is not offered.