Skip to content

v0.2.8

Choose a tag to compare

@github-actions github-actions released this 05 Jul 21:15

Fixed

  • Relative-path images never loaded in the live preview. DocumentGroup's FileDocumentConfiguration.fileURL was never bridged to MarkdownDocument.fileURL — and the property was internal, not public, so nothing outside FenCore could have set it even if it tried. The preview's base directory was always nil as a result, so any Markdown image (or other asset) referenced by relative path silently failed to render for every real document. Fixed on both macOS and iOS by bridging file.fileURL on appear and on change, and exposing MarkdownDocument.fileURL publicly.
  • Local SVGs rendered as a broken-image placeholder. The fen-preview:// scheme handler served every local asset with mimeType: nil, relying on WKWebView to sniff the content type from the byte stream. That works for PNG/JPEG/GIF/WebP, which have reliable magic-byte signatures, but SVG is plain XML text with none — so it never rendered. The handler now derives the MIME type from the file extension.
  • Help menu showed "Help isn't available for Fen." Replaced the non-functional default Help menu item with one that opens the README on GitHub.

Added

  • A custom About window (Fen → About Fen) replacing the generic system panel — matches the landing page branding and includes links to the website, source, issue tracker, release notes, and license, plus MacDown/Mou attribution.
  • assets/image-formats-test.md — a test fixture exercising the preview fixes above across PNG, JPEG, GIF, SVG, and WebP, as local files, remote HTTPS URLs, reference-style links, and a linked thumbnail.

Full Changelog: v0.2.7...v0.2.8