[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10927":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":29,"readmeContent":30,"aiSummary":31,"trendingCount":16,"starSnapshotCount":16,"syncStatus":14,"lastSyncTime":32,"discoverSource":33},10927,"markdown-preview","pluk-inc\u002Fmarkdown-preview","pluk-inc","A simple Markdown viewer for reading .md files","http:\u002F\u002Fmarkdownpreview.app",null,"Swift",989,51,2,10,0,20,36,356,60,97.15,"MIT License",false,"main",true,[27,28],"macos","markdown","2026-06-12 04:00:52","\u003Ch1 align=\"center\">Markdown Preview\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fapp-icon.png\" width=\"128\" alt=\"App icon\" \u002F>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  A fast, native macOS app for reading Markdown files.\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\u003Cimg alt=\"Platform\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fplatform-macOS%2015%2B-blue\" \u002F>&nbsp;\u003Cimg alt=\"Swift\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fswift-6.0-orange\" \u002F>&nbsp;\u003Cimg alt=\"License\" src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002Fpluk-inc\u002Fmd-preview.app\" \u002F>&nbsp;\u003Cimg alt=\"Latest release\" src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fpluk-inc\u002Fmd-preview.app\" \u002F>\u003C\u002Fp>\n\n---\n\n> 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.\n\n## Installation\n\n```sh\nbrew install --cask pluk-inc\u002Ftap\u002Fmarkdown-preview\n```\n\nOr grab the latest signed and notarized DMG from the [Releases](https:\u002F\u002Fgithub.com\u002Fpluk-inc\u002Fmd-preview.app\u002Freleases) page.\n\n## Screenshots\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fscreenshot-main.png\" width=\"820\" alt=\"Main window with document outline sidebar\" \u002F>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cem>Quick Look preview — spacebar a \u003Ccode>.md\u003C\u002Fcode> in Finder:\u003C\u002Fem>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fscreenshot-quicklook.png\" width=\"640\" alt=\"Quick Look preview from Finder\" \u002F>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cem>Customize the toolbar — drag in Print, Copy, Zoom and the rest from \u003Cem>View → Customize Toolbar…\u003C\u002Fem>\u003C\u002Fem>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fscreenshot-toolbar-customize.png\" width=\"820\" alt=\"Native macOS toolbar customization sheet showing draggable items\" \u002F>\n\u003C\u002Fp>\n\n## Features\n\n- **Native rendering** — `WKWebView` pipeline backed by [swift-markdown](https:\u002F\u002Fgithub.com\u002Fswiftlang\u002Fswift-markdown), with heading anchors and link handling.\n- **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.\n- **Math equations** — LaTeX inline (`$x_1 + x_2$`), display (`$$\\int_0^1 x^2\\,dx$$`), and fenced `math` blocks render with a bundled KaTeX. Selecting a rendered formula and copying yields the original LaTeX source (via the official `copy-tex` extension).\n- **Document outline** — sidebar TOC that mirrors your headings; click to jump.\n- **Inspector panel** — toggleable side panel with file metadata.\n- **In-document search** — toolbar search field plus standard \u003Ckbd>⌘F\u003C\u002Fkbd> \u002F \u003Ckbd>⌘G\u003C\u002Fkbd> \u002F \u003Ckbd>⌘⇧G\u003C\u002Fkbd> for next\u002Fprevious match.\n- **Open With** — switch to your real editor (VS Code, Cursor, Zed, Sublime, BBEdit, Nova, CotEditor, TextMate, MacVim, Xcode, TextEdit) without leaving the preview. The list filters to apps that actually declare an editor role for Markdown, and remembers your pick.\n- **Text zoom** — bump preview text up or down with the toolbar's \u003Ckbd>A A\u003C\u002Fkbd> control or \u003Ckbd>⌘+\u003C\u002Fkbd> \u002F \u003Ckbd>⌘−\u003C\u002Fkbd> \u002F \u003Ckbd>⌘0\u003C\u002Fkbd>. Discrete Safari-style stops from 50% to 300%.\n- **Customizable toolbar** — drag in the items you actually use (Print, Copy, Zoom, Sidebar, Open With, Inspector, Share, Search) via *View → Customize Toolbar…* Standard AppKit affordance, your layout sticks across launches.\n- **Share = copy the source** — the share toolbar feeds the picker the Markdown text itself, so **Copy** writes the raw source to the clipboard (great for pasting into ChatGPT \u002F Claude), and Mail, Messages, and Notes get the content in the body instead of a file URL.\n- **Quick Look extension** — system-wide `.md` previews from Finder spacebar, Spotlight, and Mail attachments without launching the app.\n- **Default handler** — offers to register itself as the default `.md` opener on first launch.\n\n## Supported file types\n\n`.md`, `.markdown`, `.mdown`, `.txt`\nUTI: `net.daringfireball.markdown`\n\n## Requirements\n\n- macOS 15 or later\n- Apple Silicon or Intel\n\n## Building from source\n\n```sh\ngit clone git@github.com:pluk-inc\u002Fmarkdown-preview.git\ncd markdown-preview\nopen markdown-preview.xcodeproj\n```\n\nBuild and run the `markdown-preview` scheme. Swift Package Manager will resolve [Sparkle](https:\u002F\u002Fgithub.com\u002Fsparkle-project\u002FSparkle) and [swift-markdown](https:\u002F\u002Fgithub.com\u002Fswiftlang\u002Fswift-markdown) on first build.\n\n## Project layout\n\n```\nmd-preview\u002F         Main app target (AppKit, WKWebView)\nquick-look\u002F         Quick Look extension (.appex)\nscripts\u002F            Release & rollback automation\nVersion.xcconfig    Marketing & build version (single source of truth)\nappcast.xml         Sparkle update feed\n```\n\n## Releasing\n\nReleases are driven by [Amore](http:\u002F\u002Famore.computer\u002F) — it handles building, code signing, notarization, DMG creation, S3 upload, and Sparkle appcast publishing in one shot.\n\nBump `MARKETING_VERSION` and `CURRENT_PROJECT_VERSION` in `Version.xcconfig`, then:\n\n```sh\n.\u002Fscripts\u002Frelease.sh\n```\n\nUse `.\u002Fscripts\u002Frollback-release.sh` to revert the appcast pointer if a release misbehaves.\n\n## Contributing\n\nPull requests are welcome. For larger changes, please open an issue first to discuss what you'd like to change.\n\n1. Fork the repo and create your branch from `main`.\n2. Run the app and verify the change end-to-end (UI changes need a manual smoke test — there's no UI test suite yet).\n3. Keep PRs focused; one logical change per PR.\n4. Match the existing Swift style (no formatter is enforced; mirror nearby code).\n\n\u003Ch2 align=\"center\" style=\"color: #8a8a8a;\">Special Sponsor\u003C\u002Fh2>\n\n\u003Cbr \u002F>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fpluk.sh\">\n    \u003Cimg src=\"docs\u002Fsponsors\u002Fpluk-logo.svg\" height=\"54\" alt=\"Pluk\" \u002F>\n  \u003C\u002Fa>\n  &nbsp;&nbsp;&nbsp;&nbsp;\n  \u003Ca href=\"https:\u002F\u002Famore.computer\">\n    \u003Cimg src=\"docs\u002Fsponsors\u002Famore-logo.png\" height=\"54\" alt=\"Amore\" \u002F>\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n## Acknowledgments\n\n- [swift-markdown](https:\u002F\u002Fgithub.com\u002Fswiftlang\u002Fswift-markdown) — Markdown parser (Apple, cmark-gfm-backed)\n- [Mermaid](https:\u002F\u002Fmermaid.js.org\u002F) — bundled diagram renderer for `mermaid` fenced code blocks\n- [KaTeX](https:\u002F\u002Fkatex.org\u002F) — bundled math typesetter for inline `$…$`, display `$$…$$`, and ` ```math ` blocks\n- [Sparkle](https:\u002F\u002Fsparkle-project.org) — Auto-update framework\n- [Amore](http:\u002F\u002Famore.computer\u002F) — macOS release automation (signing, notarization, DMG, hosting, appcast)\n\n## License\n\n[MIT](LICENSE)\n","Markdown Preview 是一个用于阅读.md文件的简单macOS应用程序。它使用Swift编写，基于WKWebView渲染管道和swift-markdown库，提供原生、快速的Markdown预览体验，并支持Mermaid图表与LaTeX数学公式渲染。此外，该应用还具备文档大纲导航、内文搜索、自定义工具栏等实用功能。适用于需要在macOS上高效查看和编辑Markdown文档的场景，如技术文档撰写、笔记整理等。","2026-06-11 03:30:49","CREATED_QUERY"]