Skip to content
sanketpatel32Public

About

Local Markdown workspace with live preview, PDF support, and a built-in terminal for Windows, Linux, and macOS.

Topics

Resources

Contributing

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

mdpeek logo

mdpeek

A quiet, fast native Markdown reader and editor.

Mdpeek is being rebuilt as a pure Rust desktop application using GPUI. The former Tauri/JavaScript implementation has been removed from the main application path; the native crate is now the product.

License: MIT Platform

What’s new in v3.5.0

  • Use one compact header for workspace controls and document tabs. Right-click a tab to close it or change the view on Markdown documents.
  • Format JSON, browse CSV/TSV tables, and open XLSX workbooks with a worksheet picker.
  • Zoom the active document with Ctrl+Plus or Ctrl+Minus, and check for signed app updates on Windows.

Download v3.5.0 for Windows, Linux, or macOS.

Current native feature set

  • Multi-tab Markdown, text, code, JSON, CSV/TSV, XLSX, PDF, and image documents
  • PDF viewing with page navigation, zoom, freehand drawing, area highlights, and notes
  • Markdown-only Edit, Split, and Preview modes in the tab context menu and command palette
  • JSON formatting, editable CSV/TSV source with a read-only grid, and read-only XLSX worksheets
  • Markdown rendering with GFM tables, task lists, frontmatter, MDX parsing, alert/callout surfaces, basic Mermaid flowcharts, and local images
  • Source editing with line numbers, indentation guides, folding, syntax highlighting, editor search/replace, Markdown autocomplete, formatting toolbar, and line operations
  • Clickable preview task checkboxes that update the Markdown source
  • Inline and block math fallback rendering with Unicode/script compaction
  • Wiki links ([[Page]]) and relative Markdown links open as documents
  • File explorer, heading outline, quick open (Ctrl+P), workspace content search (Ctrl+Shift+F), project-wide replace (Ctrl+Shift+R), daily notes (Ctrl+Shift+D), reopen closed tab, and reading mode (F11)
  • Session restoration for open documents, workspace, sidebar, theme, and active tab
  • A native terminal with PowerShell on Windows, your default shell on Linux and macOS, multiple tabs, and right or down splits
  • Named Spaces that restore folders, document tabs, and terminal layouts and working directories
  • On Windows, terminal restoration uses the last drive-letter directory reported by the PowerShell prompt.
  • Automatic reload for externally changed clean files
  • HTML, plain-text, and simple PDF export
  • Visual table editing at the cursor (Ctrl+Alt+M) with cell, row, column, movement, deletion, and alignment controls; copy tables as Markdown/CSV/TSV and fenced code blocks
  • Markdown snippet picker (Ctrl+Shift+S) for common blocks and structures
  • Zoom controls and keyboard shortcuts for the active document
  • Text transformations for sorting, case conversion, generated tables of contents, and date insertion
  • Copy rendered HTML/plain text, browser preview, document back/forward history, and bulk tab close commands
  • Persistent settings for line numbers, word wrap, autosave, and theme
  • Signed updates for installer-based Windows builds. In Settings → Updates, enable automatic downloads or check manually. Choose Install and restart when an update is ready.
  • Document statistics with word/character counts, paragraph count, and reading time
  • Freehand image annotation with color/size controls and non-destructive PNG export
  • Document link checking (Ctrl+Alt+I)
  • Light and dark themes

Annotate a PDF

Open a PDF from the explorer, Open File, or Quick Open. Use Draw for freehand lines, Highlight to drag over an area, or Note to put a comment on the page. Undo removes the latest annotation on the current page. Save copy writes a separate PDF with the annotations and preserves the original. Use the arrow keys or Page Up and Page Down to change pages, and press N in the viewer to add a note at the center of the page.

Mdpeek renders one page at a time and frees the page image when you switch tabs. The viewer supports unencrypted PDFs up to 64 MiB.

Screenshots

Light theme Dark theme
Light theme with the Markdown editor and preview side by side Dark theme with the Markdown editor and preview side by side

Welcome screen · Stacked Split in a narrow window

Build and run

Use stable Rust with rustfmt and clippy. On Debian or Ubuntu, install the same system libraries as CI.

rustup component add rustfmt clippy
sudo apt-get update
sudo apt-get install -y libxkbcommon-x11-dev libwayland-dev libxkbcommon-dev libfontconfig-dev
cargo run -p mdpeek

Run checks:

cargo fmt --check
cargo clippy --locked -p mdpeek -- -D warnings
cargo test --locked -p mdpeek
cargo build --locked --release -p mdpeek

Open files or folders directly:

cargo run -p mdpeek -- README.md path/to/workspace

Keyboard shortcuts

Action Shortcut
New document Ctrl+N
Open file Ctrl+O
Quick open Ctrl+P
Command palette Ctrl+Alt+P
Toggle terminal Ctrl+Shift+Backtick
Terminal copy / paste Ctrl+Shift+C / Ctrl+Shift+V (Cmd+C / Cmd+V on macOS)
Workspace search Ctrl+Shift+F
Workspace replace Ctrl+Shift+R
Insert snippet Ctrl+Shift+S
Edit table at cursor Ctrl+Alt+M
Go to line Ctrl+G
Duplicate line Ctrl+D
Move line up/down Alt+Up / Alt+Down
Join line with next Ctrl+J
Bold / italic / inline code / link Ctrl+B / Ctrl+I / Ctrl+` / Ctrl+K
Strikethrough / quote Ctrl+Shift+X / Ctrl+Shift+.
Zoom in/out/reset Ctrl++ or Ctrl+= / Ctrl+- / Ctrl+0
Document back/forward Alt+Left / Alt+Right
Settings Ctrl+,
Daily note Ctrl+Shift+D
Check links Ctrl+Alt+I
Open folder Ctrl+Shift+E
Save Ctrl+S
Save as Ctrl+Alt+S
Close tab Ctrl+W
Reopen closed tab Ctrl+Alt+T
Edit/preview Markdown Ctrl+E
Sidebar Ctrl+B when the editor is not focused
Reading mode F11
Reload Ctrl+R
Theme Ctrl+Shift+L
Export HTML/text/PDF Ctrl+Shift+H / Ctrl+Shift+T / Ctrl+Shift+P
Next/previous tab Ctrl+Tab / Ctrl+Shift+Tab
Quit Ctrl+Q or Alt+F4

Rebuild status

This is an alpha native rebuild. Core document workflows are implemented in Rust/GPUI, but the legacy application had a much larger feature surface. Mermaid flowcharts, visual table operations, image annotation, editor line operations, formatting controls, editor preferences, transformations, document history, and export/copy conveniences are now ported. Full KaTeX typesetting, additional Mermaid diagram families, rich system print preview, typewriter scrolling, templates, and smart list continuation and autopair editing are still pending. The current PDF export uses a simple layout.

Contributing

See CONTRIBUTING.md. Commit small, focused changes using conventional commit messages.

About

Local Markdown workspace with live preview, PDF support, and a built-in terminal for Windows, Linux, and macOS.

Topics

Resources

Contributing

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages