v0.2.7
Fixed
- MathJax loaded from a CDN (
cdnjs.cloudflare.com) at render time — every other script and style in Fen ships vendored inside the app, but MathJax was the one exception, adding a delay on first render, breaking the math-rendering feature offline, and making an unnecessary network call from an app whose trust model is local-first. MathJax is now vendored the same way as Mermaid:Shared/Resources/Extensions/mathjax-tex-svg.jsbundles MathJax v3'stex-svgoutput (SVG glyphs, no separate web-font files), with attribution inLICENSE/mathjax.txt(Apache License 2.0). Fen now makes zero runtime network calls to render anything. - The inline-dollar math config (
$...$delimiters) is rewritten for MathJax v3's config API — the oldMathJax.Hub.Config/tex2jaxblock was v2-only and incompatible with the vendoredtex-svg.jsbundle.
Added
- A regression test (
MathJax is vendored locally, not loaded from a CDN) asserts the composed preview/export HTML never contains acdnjs.cloudflare.comreference, so this can't silently regress. - Mermaid diagrams in
docs/ARCHITECTURE.mdcovering the FenCore/macOS/iOS target structure, the editor-to-preview rendering pipeline,coreBundle's resource-resolution flow, thefen-preview://scheme handler's path-traversal guard, and the CI/release pipeline.
Changed
ARCHITECTURE.md,RELEASING.md, andROADMAP.mdmoved into a newdocs/directory; every cross-reference across the repo (README, CONTRIBUTING, issue templates, workflow comments) updated accordingly.- README rewritten: logo and badges at the top, a hero screenshot, and the MacDown-origin attribution moved to the very bottom under "Origin and thanks."
- Removed the "Start a discussion" link from the landing page (GitHub Discussions isn't enabled for this repo).
- This repository is no longer a GitHub fork of
mfbergmann/macdown-swift— detached via GitHub's fork-network settings.
Full Changelog: v0.2.6...v0.2.7