Skip to content

0.8.0

Choose a tag to compare

@luca-chen198 luca-chen198 released this 28 Jun 19:40

Added

  • ==highlight== inline markup — configurable via MarkdownEditorTheme.highlightColor (default translucent orange); nested emphasis/code parsed inside.
  • Formatting busMarkdownEditorBus gains highlight + nine actions (strikethrough, inline code, blockquote, un/ordered list, link, code block, horizontal rule, image), each with a matching didMarkdown* 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, and isCursorExcluded
  • @luca-chen198 — the embedder context-menu hook, query-based find, and maintenance