Skip to main content
dx includes one of the most advanced Markdown rendering systems for terminal applications, providing rich formatting and interactive navigation.

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

```rust
fn main() {
    println!("Syntax highlighting supported!");
}
```

Interactive Navigation

Clickable Footnotes

dx converts Markdown footnotes into interactive navigation:
This is text with a footnote[1].

[1]: Link to another document
  • Press 1-9 to navigate to footnotes
  • Click with mouse to follow links
  • Automatic cross-document navigation
Links to local .md files become navigable:
  • Relative paths resolved automatically
  • Seamless navigation between documents
  • Back navigation with b or Backspace

Display Controls

Toggle Keys

Control how content is displayed with live keyboard shortcuts:
Markdown Toggle
key
m - Toggle Markdown rendering on/off per file
Text Wrapping
key
w - Toggle text wrapping (useful for ASCII art)
Auto-Scroll
key
a - Toggle automatic scrolling to follow new content
Dimming
key
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
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.