FluxMarkdown

June 28, 2026 · View on GitHub

Beautiful Markdown previews in macOS Finder QuickLook
Mermaid • KaTeX • GFM • TOC • Charts • Export

GitHub stars Latest release Downloads License

EnglishEspañol中文文档InstallTroubleshooting


✨ Demo

FluxMarkdown Demo

Press Space in Finder → Instant preview with diagrams, math, and more.

👋 If FluxMarkdown helps you, consider giving it a ⭐ star on GitHub!


🚀 Quick Install (30 seconds)

brew install --cask xykong/tap/flux-markdown

If Homebrew reports that xykong/tap is not trusted, this is Homebrew's third-party tap trust warning, not a FluxMarkdown install failure. Prefer trusting only this cask:

brew trust --cask xykong/tap/flux-markdown
brew install --cask xykong/tap/flux-markdown

See Tap Trust for Homebrew's security model.

Manual (DMG)

  1. Download the latest FluxMarkdown.dmg from Releases
  2. Open the DMG
  3. Drag FluxMarkdown.app to Applications

💡 Why FluxMarkdown?

FeatureDescription
📊 Mermaid DiagramsArchitecture diagrams, flowcharts, sequence diagrams
🧮 KaTeX MathInline and block mathematical expressions
📝 GFM SupportTables, task lists, strikethrough, and GitHub Alerts
🎨 Code HighlightingSyntax highlighting for 40+ languages
📊 Charts & GraphsVega, Vega-Lite, and Graphviz (DOT) support
📑 TOC PanelInteractive table of contents with section tracking
📄 YAML MetadataAuto-parses frontmatter into a clean table
📤 ExportPDF (Cmd+Shift+P) / HTML (Cmd+Shift+E) — V2EX 用户求的功能!
🔍 Zoom & PanCmd +/-/0, Cmd+scroll, pinch gestures
💾 Position MemoryRemembers scroll position and last-viewed file
🌓 ThemesLight, Dark, and System-synchronized modes
📂 File FormatsSupports .md, .mdx, .rmd, .qmd, .mdoc, .mdc, .mmd, .livemd, .mkd, .mkdn, .mkdown, .mdwn, .mdown, .markdown

⚙️ Settings (Cmd+,)

FluxMarkdown includes a dedicated Settings window to customize your experience:

  • Appearance: Switch between Light, Dark, or System themes.
  • Rendering: Toggle Mermaid, KaTeX, or Emoji support.
  • Editor: Adjust base font size and choose code highlighting themes (GitHub, Monokai, Atom One Dark, etc.).

⌨️ Keyboard Shortcuts

ShortcutAction
SpaceOpen QuickLook preview (Finder)
Cmd + + / - / 0Zoom in / out / reset
Cmd + Shift + EExport as HTML
Cmd + Shift + PExport as PDF
Cmd + ,Open Settings

🛠️ Troubleshooting

"App is damaged" / "Unidentified developer"

Run this in Terminal:

xattr -cr "/Applications/FluxMarkdown.app"
QuickLook not showing updates

Reset QuickLook cache:

qlmanage -r
Preview not working at all
  1. Check if the app is in /Applications/
  2. Try restarting Finder: killall Finder
  3. Check pluginkit -m -v for active QuickLook extensions

📚 More help: See docs/user/TROUBLESHOOTING.md and docs/user/AUTO_UPDATE.md

📖 Documentation index: docs/README.md


Comparison (QuickLook Markdown plugins)

FeatureFluxMarkdownQLMarkdownqlmarkdownPreviewMarkdown
Installbrew cask / DMGbrew cask / DMGmanualApp Store / DMG
MermaidYesYes (ref)Not mentionedNot mentioned
KaTeX / MathYesYes (ref)Not mentionedNot mentioned
GFM / AlertsYesYes (cmark-gfm; ref)Partial (Discount; ref)Not mentioned
TOC panelYesNot mentionedNoNot mentioned
Charts (Vega/DOT)YesNot mentionedNoNo
Export (PDF/HTML)YesNoNoNo
YAML FrontmatterYesYesNoNo
ThemesLight/Dark/SystemCSS-based (ref)Not mentionedBasic controls (ref)
ZoomYesNot mentionedNoNot mentioned
Scroll restoreYesNot mentionedNoNot mentioned

Notes:

  • Entries are based on public README/release notes at the cited links.
  • If a feature isn't mentioned in sources, we mark it as "Not mentioned".

Build from source

git clone https://github.com/xykong/flux-markdown.git
cd flux-markdown
make install

📄 License

FluxMarkdown is dual-licensed:

Open Source License: GPL-3.0

  • Free for personal, educational, and open-source use
  • ✅ Any modifications must also be open-sourced under GPL-3.0
  • 📜 See LICENSE for full terms

Commercial License

  • 💼 Required for closed-source or proprietary products
  • 💼 Allows distribution without open-sourcing your modifications
  • 📧 Contact: xy.kong@gmail.com for licensing inquiries
  • 📜 See LICENSE.COMMERCIAL for details

Why dual licensing? This ensures FluxMarkdown remains free and open for the community while allowing commercial use without GPL obligations for those who need it.


Inspired by and partially based on markdown-preview-enhanced