Skip to content

MarkMaid v0.1.4

Choose a tag to compare

@Weichen-LF Weichen-LF released this 05 Aug 08:00
· 33 commits to main since this release
5e7ab75

Highlights

MarkMaid 0.1.4 adds export, offline math, and Chrome-style navigation around open documents: save a Markdown preview as HTML or PDF, render KaTeX formulas without a network, step Back / Forward through in-document links, and reopen recently closed tabs.

Document export (⌘E)

  • Open File → Export Document… on a ready Markdown tab
  • Choose HTML or PDF, plus page size (A4 / A5), orientation (portrait / landscape), and margins (Normal 20 mm / Compact 10 mm / Wide 30 mm)
  • HTML writes a standalone file with embedded styles, KaTeX CSS, and inlined local images
  • PDF uses the native print path with @page layout from the chosen page setup
  • Failures surface in the status bar; Esc cancels the modal, and the dialog traps Tab focus while open

Offline KaTeX math

  • Render inline $...$ and block $$...$$ with bundled KaTeX (no CDN)
  • Skip code fences, inline code, and currency-like $ amounts so ordinary text is left alone
  • Invalid TeX falls back safely without breaking the rest of the preview
  • See docs/examples/math-and-formulas.md for a sample document

Document Back / Forward (⌘[ / ⌘])

  • Toolbar Back and Forward buttons on ready document tabs
  • History tracks path, scroll position, and optional fragment (capped at 50 entries, not persisted across sessions)
  • Used when following in-document anchors and relative Markdown links between files

Reopen Closed Tab (⇧⌘T)

  • File → Reopen Closed Tab restores recently closed preview tabs (not the Settings tab)
  • Keeps kind, path, scroll, and tab order in an in-memory stack of up to 20 entries
  • Menu item is enabled only when history is non-empty; history is cleared when the app quits

Appearance and Files tree

  • High Contrast black-and-white palette variants in Settings (also reflected in the status bar theme label)
  • Hide empty directories in the Files tree when they have no visible Markdown, Mermaid, or image children

Shortcuts added in this release

Shortcut Action
⌘E Export Document…
⇧⌘T Reopen Closed Tab
⌘[ / ⌘] Back / Forward

Install note

Current builds are ad-hoc signed. After installing to /Applications:

xattr -cr /Applications/MarkMaid.app

Full Changelog

v0.1.3...v0.1.4