Skip to main content

How Tabs Work

VariableMD lets you open multiple documents at once, just like browser tabs. Each tab remembers exactly where you were.

The Brick: Same Font Everywhere

Whether you are in a terminal or viewing a document, CodexMono keeps everything aligned.
The Brick Principle: CodexMono (600-unit) monospace font ensures consistent character width across terminals and documents. Code blocks, tables, and ASCII art all line up perfectly.

Creating a Tab

When you open a file, a new tab appears.

Switching Tabs

Click any tab to switch. Your previous position is saved automatically.
State Preservation: When you switch back to a tab, everything is exactly as you left it - scroll position, expanded sections, and header information.

Opening the Same File

If you open a file that is already in a tab, it just switches to that tab.

Tab Limit: 10 Maximum

A simple limit prevents clutter and keeps things fast.
SMPC Principle: Simple limits prevent chaos. 10 tabs is enough for most workflows while keeping resource usage predictable.

Viewer Types

Different file types get different viewers, but all use CodexMono for code.

The Complete Picture


Key Points

Unique Identity

Each tab has a unique ID combining timestamp and counter. No two tabs can collide.

State Preservation

Header info, scroll position, and content state are saved when switching tabs.

Visual Alignment

CodexMono (600-unit) font used across all tabs for consistent character width.

Simple Limit

Maximum 10 tabs keeps the interface fast and focused.