Skip to content

Markion v0.2.10

Choose a tag to compare

@github-actions github-actions released this 04 Sep 00:08
· 27 commits to main since this release

Markion v0.2.10

Fixes a UI freeze when expanding the source view of images with base64 data URIs, and collapses opaque data-URI payloads into a compact placeholder across every Visual Edit source surface.

Highlights

Visual Edit stays responsive on large embedded images

  • Expanding the </> source toggle on a Markdown image whose destination is a multi-megabyte base64 data URI no longer freezes the app for tens of seconds. Source-revealing editors (image, fenced code, math, diagram, HTML) now rebuild their navigation snapshots from wrapped lines instead of per-character queries, and collapsed blocks no longer re-clone multi-megabyte spans every frame.

Data-URI payloads collapse to a placeholder everywhere

  • Wherever authored base64 data-URI bytes can appear in Visual Edit — the block-image source toggle, raw-HTML <img src="data:…"> blocks, caret-revealed inline images, revealed link destinations, and source-island fallbacks — the opaque payload now collapses into a single atomic placeholder token showing its size (for example …4.2 MB…), instead of flooding the editor with megabytes of base64 text.
  • The token edits atomically: the caret snaps to its boundaries, double-click selects it, and deleting or replacing it removes the whole payload in a single undoable step. The full raw bytes remain editable in Source/Split mode.

Compatibility

  • No migration is required: Markdown file, preference, and workspace data formats are unchanged.
  • Markion's Windows and macOS installers are unsigned and may trigger SmartScreen or Gatekeeper warnings; manual bypass steps are still required.

Downloads

  • Windows x64: NSIS installer (markion_0.2.10_x64-setup.exe).
  • macOS Apple Silicon: DMG (Markion_0.2.10_aarch64.dmg).
  • Linux x86_64: DEB (markion_0.2.10_amd64.deb) and AppImage (markion_0.2.10_x86_64.AppImage).

Verification

  • Full local workspace test suite passes (cargo test --workspace).
  • Native CI builds and packaging succeed on Windows, macOS, and Linux, including packaged-manifest verification.
  • Windows updater metadata is signed and mirrored to the Aliyun OSS mirror.

Full comparison: v0.2.9...v0.2.10


Markion v0.2.10(中文说明)

修复展开 base64 data-URI 图片源视图时界面冻结的问题,并将不透明的 data-URI 载荷在所有 Visual Edit 源码表面折叠为紧凑占位符。

主要更新

Visual Edit 在大体积内嵌图片上保持流畅

  • 展开 </> 源码开关查看目标为多兆字节 base64 data-URI 的 Markdown 图片时,不再出现数十秒的界面冻结。暴露源码的编辑器(图片、围栏代码、数学公式、图表、HTML)现在按折行重建导航快照,而非逐字符查询;折叠状态也不再每帧重复克隆数兆字节的文本片段。

data-URI 载荷在所有位置折叠为占位符

  • 在 Visual Edit 中所有会出现 base64 data-URI 字节的位置——图片源码开关、raw-HTML <img src="data:…"> 块、光标展开的行内图片、展开的链接目标、源码岛回退视图——不透明载荷现在统一折叠为一个显示大小的原子占位符(例如 …4.2 MB…),不再让数兆字节的 base64 文本刷满编辑器。
  • 占位符按原子单位编辑:光标只会停靠在其边界上,双击选中整个占位符,删除或替换时一次性移除整个载荷并可单步撤销。完整原始字节在 Source/Split 模式下仍可完整编辑。

兼容性

  • 无需迁移:Markdown 文件、偏好设置和工作区数据格式均未变化。
  • Markion 的 Windows 与 macOS 安装包未签名,可能触发 SmartScreen 或 Gatekeeper 警告,仍需手动绕过。

下载

  • Windows x64:NSIS 安装程序(markion_0.2.10_x64-setup.exe)。
  • macOS Apple Silicon:DMG(Markion_0.2.10_aarch64.dmg)。
  • Linux x86_64:DEB(markion_0.2.10_amd64.deb)与 AppImage(markion_0.2.10_x86_64.AppImage)。

验证

  • 本地完整 workspace 测试套件通过(cargo test --workspace)。
  • Windows、macOS、Linux 原生 CI 构建与打包成功,包括打包产物清单校验。
  • Windows 更新器元数据已签名并同步至阿里云 OSS 镜像。

完整变更对比: v0.2.9...v0.2.10