| Content | How it is shown |
|---|---|
| HTML | the article, formatted |
Markdown (.md, or served as text/markdown) | rendered as Markdown |
plain text (.txt, or served as text/plain) | in a code block |
| JSON, XML | in a code block, highlighted |
| images, PDFs, anything else | not shown: you get a notice, and x opens it in your real browser |
Local files work the same way as remote ones: wr notes.md, wr ~/docs/page.html,
wr ./README.md, wr file:///etc/hosts. Links between local HTML files work,
f labels them like any other link, and r reads the file again from disk.