guide / local-files-markdown-and-other-content

guide / local-files-markdown-and-other-content

Local files, Markdown and other content

v0.12.0 · 12 / 21 · 1 min read · docs/GUIDE.md

wr shows more than web pages:

ContentHow it is shown
HTMLthe 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, XMLin a code block, highlighted
images, PDFs, anything elsenot 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.

edit this page on GitHub ↗report a problem ↗