warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
21.5k stars 376 forks source link

SuperTXT support for rich command output #5459

Open supertxtnet opened 2 weeks ago

supertxtnet commented 2 weeks ago

Dupe Check

Describe the solution you'd like?

SuperTXT is a markdown-like language that is well-suited for the shell. It's line oriented for ease of piping. Also, it's command-oriented to help go from one screen to another through the construction of new commands. There's also no HTML support so, no need to fall back on web browser engines for rendering HTML block, unlike markdown.

Now that we have shells that can provide truly graphical interfaces, such as warp, and the experimental browsing shell that demonstrates a web-browser like command-line, SuperTXT can provide a language for commands to provide enhanced experiences. It also falls back to a readable output in a traditional terminal.

It would be great if the Warp shell can detect SuperTXT output from a command and render that panel with headings, preformatted blocks, and even code blocks or links. It can detect this kind of output from a command in a number of ways:

cat foo.s.txt # --ext=.s.txt

Is your feature request related to a problem? Please describe.

No response

Additional context

No response

How important is this feature to you?

3

Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1

None