Oyma features a seamless Live Preview editor. As you write, Markdown syntax elements render into rich typography (headings, bold, tables, callouts) while keeping the underlying file 100% clean plain text.
Eliminating Split-Screen Cognitive Load
Traditional Markdown editors forced users into an awkward dual-pane split screen: raw, cluttered syntax on the left pane, and a rendered HTML preview on the right. This divided attention, wasted screen real estate, and caused cursor positioning headaches.
Oyma eliminates split-screen friction with a seamless Live Preview editing engine inspired by modern typographic standards.
How Live Preview Works
- Typographic Rendering While Typing: When your cursor is outside a formatted element, headings render large and bold, tables appear with bordered gridlines, and bold text displays styled without raw asterisks.
- Context-Aware Syntax Reveal: The moment you move your text cursor inside a formatted block (such as an italicized phrase or wikilink), the underlying Markdown characters smoothly reveal themselves for direct character-level editing.
- Pure Text on Disk: Live Preview is strictly a presentation layer. On disk, your file remains an uncorrupted, standard UTF-8
.mdfile containing standard CommonMark characters.
Viewing State:
This is a critical security finding for our deployment.
Active Editing State (Cursor on 'critical'):
This is a **critical** security finding for our deployment.
^
Three Flexible Editor Modes
You can switch editor perspectives instantly via keyboard shortcut:
- Live Preview (
⌘1): Typographic richness with contextual syntax revealing. The optimal mode for writing, reading, and meeting capture. - Source Mode (
⌘2): Raw monospaced Markdown text. Perfect for developers performing regex search-and-replace or inspecting raw frontmatter. - Reading Mode (
⌘3): Clean, non-editable document layout formatted for focused reading, review, and presentation.
High-Performance CoreText Rendering Engine
Under the hood, Live Preview is powered by Apple’s low-level CoreText and AppKit typographic engine:
- Sub-Millisecond Keystroke Latency: Characters appear on screen in less than 2 milliseconds, matching the tactile responsiveness of native macOS code editors.
- Abstract Syntax Tree (AST) Caching: As you type, only modified document nodes are re-parsed into the syntax tree, keeping CPU usage below 1% during intense typing sessions.
- Zero Layout Shifts: When formatted styles reveal their underlying Markdown characters during cursor entry, Oyma calculates font metrics smoothly to prevent jarring horizontal layout shifts.
You enjoy the visual elegance of rich typographic styling without sacrificing the tactile speed and permanence of plain text.
Tactile Typographic Polish and Performance
Live Preview supports smooth cursor navigation through inline formatting: pressing arrow keys glides naturally between formatted text and source punctuation. You never have to switch back and forth between edit and preview tabs just to check your layout.
By pairing AppKit’s native text storage with asynchronous layout passes, Oyma maintains smooth 120Hz ProMotion scrolling on MacBook Pro displays, even in lengthy technical documents containing dozens of code blocks, complex mathematical equations, and rich embedded media assets.