This release adds 3 notable features for engineering teams evaluating rollout.
Published 28d
Editors & IDEs
✓ No known CVEs patched
✓ No known CVEs patched in this version
Summary
AI summaryAdded highlight markup, a formatting bus with nine actions and word‑boundary auto‑wrap, and hooks for custom context menus; blockquote newline handling fixed.
Full changelog
Added
==highlight==inline markup — configurable viaMarkdownEditorTheme.highlightColor(default translucent orange); nested emphasis/code parsed inside.- Formatting bus —
MarkdownEditorBusgains highlight + nine actions (strikethrough, inline code, blockquote, un/ordered list, link, code block, horizontal rule, image), each with a matchingdidMarkdown*coordinator action and word-boundary auto-wrap (wrap the word under the caret when there's no selection). NativeTextViewWrapper.onBuildContextMenu— embedder hook to build the right-click menu; the engine ships none (API-only).NativeTextView.isCursorExcluded— predicate that suppresses the edit-mode I-beam over an exclusion zone (e.g. a floating formatting toolbar).MarkdownEditorBus.findQuery/findResults— query-based in-document find that matches the engine's displayed text (correct where it differs from source).
Changed
- No built-in right-click "Format" menu anymore — menus are embedder-supplied via
onBuildContextMenu. The system rich-text "Font" submenu is stripped from the default menu (font traits don't apply to Markdown).
Fixed
- Blockquote removal no longer doubles trailing newlines.
Contributors
Thanks to everyone who contributed to this release:
- @sospartan —
==highlight==markup, the formatting bus, andisCursorExcluded - @luca-chen198 — the embedder context-menu hook, query-based find, and maintenance
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About Swift-Markdown-engine
All releases →Related context
Related tools
Earlier breaking changes
Beta — feedback welcome: [email protected]