MarkSafe Documentation

An overview of all keyboard shortcuts and features in MarkSafe.

Keyboard Shortcuts & Navigation

File & Tabs

Shortcut (Win / Linux) Shortcut (macOS) Description
Ctrl + N Cmd + N New tab with empty document
Ctrl + O Cmd + O Open Markdown file
Ctrl + S Cmd + S Save current document
Ctrl + Shift + S Cmd + Shift + S Save document as...
Ctrl + + Cmd + + Zoom in
Ctrl + - Cmd + - Zoom out

Editor & Formatting

Shortcut (Win / Linux) Shortcut (macOS) Toolbar Icon Description
Ctrl + B Cmd + B B Bold formatting (**text**)
Ctrl + I Cmd + I I Italic formatting (*text*)
Ctrl + 1 Cmd + 1 H1 Heading 1 (# )
Ctrl + 2 Cmd + 2 H2 Heading 2 (## )
Ctrl + 3 Cmd + 3 H3 Heading 3 (### )
Ctrl + Shift + C Cmd + Shift + C <> Fenced code block (```)
— — code Inline code (`code`)
— — ” Blockquote (> )
— — ≡ Unordered list (- )
— — ☑ Task list / checklist (- [ ] )
— — 🔗 Insert Markdown link ([text](url))

Standard Editing

Shortcut (Win / Linux) Shortcut (macOS) Description
Ctrl + Z Cmd + Z Undo
Ctrl + Y Cmd + Shift + Z Redo
Ctrl + X Cmd + X Cut
Ctrl + C Cmd + C Copy
Ctrl + V Cmd + V Paste
Ctrl + A Cmd + A Select all

Toolbar & View Features

  • Toggle Editor: Switch between side-by-side editing and preview-only mode.
  • Focus Mode: Minimalist view without distractions.
  • Synchronized Scrolling: Keeps editor and preview aligned while scrolling.
  • Print: System print dialog for formatted Markdown output.
  • HTML Export: Export self-contained HTML with CSS and syntax highlighting.
  • Theme Switcher: Toggle between light, dark, and system default themes.

Configuration

On startup, MarkSafe checks for a configuration file named .marksafe.yaml in your home directory:

  • Linux / macOS: ~/.marksafe.yaml
  • Windows: %USERPROFILE%\.marksafe.yaml

Configure whitelisted directory paths, trusted image domains, and default theme preferences.