Markdown Preview 0.0.72 brings callouts for every [!type] tag, Copy as Plain Text, and steadier live reload.
Added
- Callouts for Every Type. Any
[!type]tag now makes a callout, with its own icon and color for kinds such as info, todo, question, bug, and example, and a+or-after the tag makes it fold open or closed. GitHub alerts share the code block’s card look, with brighter titles in dark mode (#629). - Copy as Plain Text. Choose Copy as Plain Text from the Edit menu or the context menu, or press ⌥⇧⌘C, to paste a selection into plain text fields without Markdown, keeping list bullets, numbers, checkboxes, and table rows (#637).
Changed
- No File Chooser at Login. When Markdown Preview opens as a login item, it stays out of your way instead of asking you to choose a file (#624).
- Safer Local Media. The preview loads only images, video, audio, and PDFs from your disk, so a script in a document can no longer read other kinds of files, such as keys or settings (#627).
- Updated Libraries. Upgrades the libraries behind the app, including Sparkle 2.10.1, KaTeX 0.19.1, highlight.js 11.12.0, and Pele 1.13.0 (#630).
Fixed
- Live Reload Survives Every Save. When an editor saves by deleting the file and writing it again, the preview waits for the file to come back and reloads it (#623).
- Lists Stay Put When Zoomed. At a zoom other than 100%, bullets, checkboxes, and numbers stay in the same place when you switch between Read and Edit mode (#638).
- Citations Stay Text. Escaped citations such as
\[18\]show as[18]instead of turning into centered math blocks (#633). - Footnotes Past 9 Show in Full. Footnote numbers 10 and up keep every digit, instead of showing 10, 11, and 12 as 0, 1, and 2 (#622).
- Empty Headings Open Without a Crash. Files with an empty heading such as
- #or> #open normally, and the outline still lists their headings (#628).
Contributors
- @yusuftunga1 — kept the file chooser from opening at login (#624).
- @parterburn — asked for a way to copy the formatted text instead of the Markdown (#634).
- @BrighterGit — asked for more callout kinds and folding (#447).
- @Bo-Feng-1024 — reported live reload stopping after a save replaced the file (#615).
- @0xdaniil — reported escaped brackets rendering as math (#625).
- @transon-top — reported footnote numbers breaking after 9 (#617).
- @coygeek — reported the crash on empty headings (#626).
- @GH-AirGee — raised the local file hardening (#612).