Druk can render anyDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/letstri/druk/llms.txt
Use this file to discover all available pages before exploring further.
.md file as a formatted document directly inside the terminal — headings, lists, tables, links, block quotes, and syntax-highlighted code blocks, all without leaving the editor. Switching between the rendered view and the raw source is a single keystroke, and the two share the same tab rather than opening a new one. Because Druk renders the buffer rather than the saved file, you can see how your document will look while you are still writing, before saving.
Toggle Between Rendered and Source
PressCtrl+Opt+M to switch the active Markdown tab between its rendered and source views. Press the same key again to switch back. The rendered tab is marked with a ¶ symbol in the tab strip — ¶ README instead of README.md — so you always know which view is active at a glance.
This is not a new tab. It is one tab in two views: the rendered view and the source view share the same buffer, the same undo history, and the same unsaved-changes indicator in the status bar.
What Renders
The rendered view supports all standard Markdown elements:| Element | How it renders |
|---|---|
# Headings | Bold, colored text at the appropriate level |
- Lists and 1. Ordered lists | Indented with bullet or number markers |
| Tables | | Aligned columns drawn with box-drawing characters |
[Links](url) | Underlined text with the URL shown or hidden |
> Block quotes | Indented with a leading bar |
```lang code blocks | Syntax highlighted using tree-sitter (same grammars as the editor) |
**Bold** and *italic* | Bold and italic terminal attributes |
Inline code | Highlighted with a distinct background |
Editing While Rendered
You do not need to save before the rendered view updates. Druk renders the in-memory buffer, not the file on disk. This means:- Type in the source view → the rendered view reflects the latest content the next time you switch to it.
- Unsaved edits are visible in the rendered view.
- The rendered view is never stale relative to what you are writing.
Ctrl+S in between.
Navigation in the Rendered View
The rendered view is read-only and scrollable. Standard navigation keys work just as they do in the rest of the editor.| Key | Action |
|---|---|
↑ / ↓ | Scroll one line up / down |
PgUp / PgDn | Scroll one page up / down |
Ctrl+U | Scroll half a page up |
Ctrl+D | Scroll half a page down |
Tab or Esc | Return to the source view |
Per-File Memory
Each Markdown file remembers which view it was in when you last closed it. If you leftCHANGELOG.md in the rendered view, it will open in the rendered view next time — even across Druk restarts. Source files you never toggled always open in source view.