Rich Text Formatting
dx supports comprehensive Markdown formatting with proper terminal rendering:Typography
Headers, emphasis, code blocks, and lists with proper hierarchy
Code Syntax
Syntax highlighting for code blocks in multiple languages
Interactive Elements
Clickable links, footnotes, and cross-references
ASCII Art
Special rendering modes for ASCII art and diagrams
Supported Elements
Text Formatting
- Headers (H1-H6) with visual hierarchy
- Bold, italic, and
inline code
- Strikethrough and underline text
- Block quotes with visual indentation
Lists and Structure
- Bulleted and numbered lists
- Nested lists with proper indentation
- Task lists with checkboxes ☑️
- Definition lists and tables
Code Blocks
Interactive Navigation
Clickable Footnotes
dx converts Markdown footnotes into interactive navigation:- Press 1-9 to navigate to footnotes
- Click with mouse to follow links
- Automatic cross-document navigation
Link Following
Links to local.md
files become navigable:
- Relative paths resolved automatically
- Seamless navigation between documents
- Back navigation with
b
orBackspace
Display Controls
Toggle Keys
Control how content is displayed with live keyboard shortcuts:m - Toggle Markdown rendering on/off per file
w - Toggle text wrapping (useful for ASCII art)
a - Toggle automatic scrolling to follow new content
d - Toggle text dimming for better focus
Scrolling and Navigation
Smooth Scrolling
- j/k or ↑/↓ - Line-by-line navigation
- Page Up/Down - Full page scrolling
- g/G - Jump to beginning/end
- Mouse wheel - Smooth scrolling
Content Search
Navigate large documents efficiently:- Automatic heading detection
- Quick jump to sections
- Visual progress indicators
File Integration
Automatic Detection
dx automatically renders Markdown for files with extensions:.md
,.markdown
.txt
files with Markdown content- README files in any format
Markdown rendering respects your terminal’s color scheme and adapts to both light and dark themes automatically.