PCTUTU.comBack to PCTUTU.com
GitHub projects
markdown-previewUtilities
Category
Utilities
Publisher
pluk-inc
Repository
Open repository
Release
Open release
Current version
v0.0.76
Release date
2026-11-28
Package size
macOS 10.0 MB
Utilities · pluk-inc

markdown-preview

A fast, native macOS app for reading Markdown files.

Version v0.0.76
Available for macOS

README

Markdown Preview

Markdown Preview logo

A fast, native macOS app for reading Markdown files.

Platform Swift License Latest release Homebrew cask

Join our Discord community

Buy Me a Coffee


Drop a .md on the icon (or set Markdown Preview as your default handler) and get a clean, scrollable preview with a real document outline — no Electron, no browser tab.

Installation

Markdown Preview is available in the official Homebrew cask repository:

brew install --cask markdown-preview

Or grab the latest signed and notarized DMG from the Releases page.

Screenshots

Main window with document outline sidebar

Edit Markdown directly with a native formatting toolbar:

Edit Mode with document outline and Markdown formatting toolbar

Quick Look preview — spacebar a .md in Finder:

Quick Look preview from Finder

Customize the toolbar — drag in Print, Copy, Zoom and the rest from View → Customize Toolbar…

Native macOS toolbar customization sheet showing draggable items

Features

App language: Choose Settings → General → Language to use a bundled translation independently of your system language. The app offers to restart right away so the choice applies to settings, menus, and document controls; choose Later to keep working, and it applies the next time you open the app. System Default removes the app override and follows macOS again. This preference persists across launches and affects only the app; Quick Look previews continue to use their system-selected language. Available languages are discovered from the app’s bundled translations.

Settings uses toolbar tabs. General holds the language, how files open, Always on Top, automatic saving, and the app the Open button uses. Reading contains text size, content width, text alignment, Markdown line breaks, and outline highlighting. Appearance contains the light/dark choice, themes, and their font, spacing, and color customization, with a live sample; resetting a theme leaves global Reading preferences unchanged. Advanced holds the command line tools installer and the app link approvals.

Text alignment: Choose Settings → Reading → Text alignment for Automatic, Left, Center, Right, or Justified prose. Automatic preserves the document’s existing alignment, including right-to-left text. This global preference persists across launches and theme changes, updates open reading views immediately, and applies to Quick Look when reopened. Code, tables, and explicit HTML alignment remain unchanged. Justification leaves the final paragraph line naturally aligned; enable Strict line breaks to join ordinary source wraps into flowing paragraphs.

Single source newlines remain visible by default. Enable Settings → Reading → Markdown → Strict line breaks to let ordinary source lines flow into paragraphs in reading view and Quick Look. Two trailing spaces or a backslash still create an explicit line break; blank lines still separate paragraphs. Reopen an existing Quick Look preview after changing this setting.

  • Native rendering — WKWebView pipeline backed by swift-markdown, with heading anchors and link handling. Bare http:// and https:// URLs are clickable in the app and Quick Look previews.
  • Read Mode — select and copy text, follow links, and browse tables. Copying whole blocks writes their Markdown source; Edit → Copy as Plain Text (⌥⇧⌘C, also in the context menu) copies the text as it reads, with list bullets and numbers but no Markdown, for plain text fields. Click task checkboxes to save each change directly to the file. Tables and Quick Look previews remain read-only. Table words and inline code retain their natural widths, and in Markdown table cells Chinese and Japanese text wraps at spaces and punctuation instead of between characters; wide tables scroll horizontally. Drag the edge between two header cells to resize a column, and double-click an edge to fit that column to its header text; the widths reset when the document renders again. In Read or Edit mode, use Expand Table above a table to open a read-only snapshot in its own window, which you can resize, minimize, or make fullscreen. The table window opens at the document's text size, and View → Zoom In and Zoom Out change it there without changing the document. For tables with a single-row header, the header stays at the top of the table window while you scroll. Press Escape or close the table window to return to the document.
  • App links — Read Mode and Quick Look support custom URL schemes. Before opening an unapproved custom link with a registered app, a compact dialog names the app and offers Cancel, Allow, and Always Allow, with Cancel as the default. For an unapproved custom link with no registered app, an alert reports that no application can open the link. Use Copy Link in the context menu to inspect the destination. “Always Allow” saves approval for that URL scheme across documents, app restarts, and Quick Look. Reset approvals in Settings → Advanced → App links. HTTP, HTTPS, mailto, and the app’s own md-preview: links open without this prompt, even after resetting approvals. Executable URLs and literal file:// links remain blocked; embedded resources cannot launch custom app links.
  • Edit Mode — edit Markdown in place with a formatting toolbar for headings, emphasis, lists, quotes, code, and links. Table cells show inline formatting until focused, then reveal their Markdown syntax for editing. Task markers become checkboxes once you finish typing the closing bracket; Enter continues a task list, and Enter on an empty task exits it. Toggle it from the toolbar or with ⌘E, then save with ⌘S. To edit the file as plain text, choose View → Show Markdown Source (⇧⌘E) the source button at the end of the formatting toolbar, or Show Source in the editor's context menu (Show Markdown there switches back): every Markdown marker stays visible, in a fixed-width font with line numbers, light syntax colors, and a highlight on the current line, and wrapped list items and quotations continue under their text. The switch keeps the selection, unsaved changes, and undo history, applies to every open window, and is remembered the next time you open Edit Mode. Files keep their own line endings (LF, CRLF, or CR) when saved. The editor's context menu is short: Format has the formatting commands, the inline styles, the code blocks, and Insert Table are one click away, and a nearby iPhone or iPad can add a photo, a scan, or a sketch, which is saved beside the file as a pasted image is (a scan of several pages keeps its first page only). In the Markdown source, the menu has Find… and Navigate (Reveal in Project Navigator, Show in Finder) instead.
  • Mermaid diagrams — fenced mermaid code blocks render as diagrams in both the app and Quick Look previews, using a bundled renderer so previews work offline without a CDN request.
  • Math equations — LaTeX inline ($x_1 + x_2$), display ($$\int_0^1 x^2\,dx$$), and fenced math blocks render with bundled KaTeX in reading and edit modes. In edit mode, click a formula to edit its highlighted LaTeX source; move the caret away to render it again. Inline math source uses inline-code styling; spaces immediately inside either $ delimiter leave the expression literal. $$ source on its own lines, standalone or inside a paragraph, uses the code-block card with hidden delimiters and no header controls (a delimiter line of a multiline formula shows again while the caret or the current search match is on it); fenced math uses the usual code-block controls with hidden fences. Pressing Enter after a standalone $$ inserts a matching closing delimiter and places the caret between them; single-line $$ equation $$ stays on one source line. Unclosed math stays editable as source. Selecting a rendered formula and copying yields the original LaTeX source (via the official copy-tex extension). The experimental native renderer (Settings → Advanced) draws formulas with no web view, with the KaTeX fonts; it does not read \(…\) and \[…\] as formulas and has not \reflectbox, \mathreflectbox, and \mapsfrom (the list is in markdown-core/pkg/ratex/README.md), and it has chemistry (\ce), which the web view has not. It shows a formula as its source while the caret is at it, and a formula with an error as its source in red.
  • Document outline — sidebar TOC that mirrors your headings; click to jump.
  • Collapsible sidebar — the outline and file picker hides when the sidebar collapses; the sidebar toggle stays available to reopen it.
  • File navigator — browse Markdown files in the sidebar. Click a folder's name, icon, or empty row space to expand or collapse it, or use its disclosure triangle. Click a file to open it in the current reading or editing mode. A file that takes a moment to load, such as one iCloud Drive is still downloading, shows a spinner beside its name until it opens. The folder button above the tree shows the folder the tree starts at; its menu lists your Favorites and the Recent folders, and adds the current folder to Favorites or removes it (also File → Add to Favorites, or right-click a folder in the tree). A file inside a favorite folder always opens with that whole folder in the tree, instead of only the file's own folder. With a favorite folder, the app also skips the file chooser when it has no window to show (at launch without a file, or when you click the Dock icon after closing the last window): it opens the favorite the tree showed last (the outer one, when that favorite is inside another favorite), with the last file you opened in it. The bar at the bottom has a + menu (New Empty File, New File from Clipboard, New Folder, Add Files to the folder) and a Filter field that narrows the tree to matching file names (Escape clears it); the clock button shows only recently opened files. The filter uses the same folder walk as Search for Document, so it skips the
Publisher informationSoftware details and release files are provided by the publisher.

Release notes

Steadier Quick Look, faster counts