rdxt (rex-doc)

Markdown, made for Rex. Read and write Markdown as real text in your terminal.

rdxt ("read text") opens a Markdown file as real terminal text, not a picture. It uses your terminal's font, size and theme, zooms with ⌘+, and selection and scrolling work, including on the iPad. It runs in a Rex pane, a floating Rex window or any terminal, and it's built for reviewing what coding agents write: it opens fast and starts in View mode.

rdxt showing an agent's plan in Rex: the top bar, a title, an alert and ticked tasks

Install

brew install travelingflwr/tap/rdxt
rdxt setup

Or grab a build from Releases, or go install github.com/travelingflwr/rex-doc/cmd/rdxt@latest.

rdxt setup makes it feel built into Rex:

  • Cmd-click a .md path in Rex (or double-click one in Finder) and it opens in a floating rdxt window. Esc closes it.
  • The palette gets rdxt: Open Document…, rdxt: New Document… (with Blank, Plan and Notes templates) and rdxt: Check Rex Config.
  • Coding agents (Claude Code, Codex, Cursor, OpenCode, Pi) get an rdxt skill, so they open the plans and reports they write.

rdxt setup --undo puts everything back.

Use

rdxt notes.md                    # read it here
rdxt open --float notes.md       # in a floating Rex window (--split, --tab)
rdxt new --template plan fix-login
  • View mode (the default) renders the document. Links to other .md files open in place, with Back and Forward.
  • Source mode (e) is the raw Markdown, editable with vim-like keys.
  • Mermaid diagrams drawn as text: sequence diagrams, flowcharts and pie charts, in your theme's colours.
  • Your Rex config, checked: open ~/.config/rex/init.lua and Rex's own check comes first, with any errors and their lines.

A Mermaid flowchart drawn as text, with a decision node and labelled branches

Press ? in rdxt for every key. More screenshots and the design notes are in the README on GitHub, and if rdxt is useful to you, a star there helps other people find it.