Skip to content

Markion v0.2.8

Choose a tag to compare

@github-actions github-actions released this 02 Sep 17:02
· 38 commits to main since this release

Markion v0.2.8

This release protects unsaved work from accidental loss and gives the first-launch welcome page samples that actually work.

Highlights

Safer document handling

  • A dirty untitled tab — the welcome page after you have typed into it, or any not-yet-saved draft — is no longer treated as a replaceable placeholder. Opening another file from the file tree, by drag-and-drop, from Open Recent, or via File → Open now appends a new tab instead of silently discarding your draft; only clean tabs get replaced.
  • Closing a tab or quitting Markion with unsaved changes now offers a three-way Save / Don't Save / Cancel prompt instead of the old discard-or-cancel choice. Save writes the affected dirty documents first (Save As for untitled ones) and then proceeds; Don't Save discards them and retires their recovery snapshots; Cancel leaves everything open. Quitting covers all dirty tabs in a single dialog.
  • The close-tab confirmation now has its own clear title and explanation instead of reusing the "new document" wording, localized in all seven interface languages (English, 简体中文, 繁體中文, 日本語, Français, Deutsch, Español).

Welcome page samples

  • The default welcome document no longer shows a broken image: its sample image now resolves to Markion's bundled logo, both in packaged builds and during development.
  • The welcome sample now demonstrates the HTML that Markion previews — a raw HTML table with header cells and colspan/rowspan, inline style tags, <br>, lists, <kbd>/<code>, a centered image, and a small styled HTML block — alongside the existing Markdown tour.

Compatibility

  • No migration is required: Markdown files, preferences, and workspace data keep their existing formats. The welcome page is generated in memory, so saved documents are unaffected.
  • Markion's Windows and macOS installers are unsigned, so SmartScreen or Gatekeeper may ask for confirmation on first launch.

Downloads

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

Verification

  • Local: cargo test --workspace passed with zero failures, and the bundled MarkNice publishing workspace passed verify-bundle (23 files, digest-verified).
  • CI: the v0.2.8 tag workflow succeeded on Windows, macOS (Apple Silicon), and Linux, including Windows updater signing, GitHub Release publication, and the Aliyun OSS mirror verification.

Full comparison: v0.2.7...v0.2.8


Markion v0.2.8(中文说明)

本次发布保护未保存的工作不被意外丢失,并让首次启动的欢迎页示例真正可用。

主要更新

更安全的文档处理

  • 未保存的未命名标签页——在欢迎页输入过内容,或任何尚未保存的草稿——不再被当作可替换的占位符。通过文件树点击、拖放、最近打开或 File → Open 打开其他文件时,现在会追加新标签页,而不是静默丢弃草稿;只有无未保存修改的标签页才会被替换。
  • 关闭标签页或退出 Markion 时,若有未保存的修改,现在会提供 Save / Don't Save / Cancel 三选一确认,取代原先"放弃或取消"的选择。Save 会先写入受影响的脏文档(未命名的走另存为)再继续;Don't Save 放弃修改并清理对应的恢复快照;Cancel 则保留一切不动。退出时的一个对话框覆盖所有脏标签页。
  • 关闭标签页确认框现在拥有独立的标题与说明文案,不再复用"新建文档"的提示,并已在全部七种界面语言中本地化(English、简体中文、繁體中文、日本語、Français、Deutsch、Español)。

欢迎页示例

  • 默认欢迎文档不再显示损坏的图片:示例图片现在指向 Markion 自带的 logo,打包版本与开发环境均可正确解析。
  • 欢迎示例现在演示 Markion 已支持的 HTML 预览能力——含表头与 colspan/rowspan 的原生 HTML 表格、内联样式标签、<br>、列表、<kbd>/<code>、居中图片以及一个小的样式化 HTML 块——与原有的 Markdown 导览并列。

兼容性

  • 无需迁移:Markdown 文件、偏好设置与工作区数据保持现有格式。欢迎页在内存中生成,已保存的文档不受影响。
  • Markion 的 Windows 与 macOS 安装包未签名,首次启动时 SmartScreen 或 Gatekeeper 可能要求手动确认。

下载

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

验证

  • 本地:cargo test --workspace 全部通过、零失败;自带的 MarkNice 发布工作区通过 verify-bundle 校验(23 个文件,摘要逐一验证)。
  • CI:v0.2.8 标签工作流在 Windows、macOS(Apple Silicon)与 Linux 上全部成功,包括 Windows 更新器签名、GitHub Release 发布以及阿里云 OSS 镜像验证。

完整变更对比v0.2.7...v0.2.8