Skip to content

Markion v0.3.6

Latest

Choose a tag to compare

@github-actions github-actions released this 08 Sep 09:57

Markion v0.3.6

Markion 0.3.6 adds native offline Word import and a complete in-app Git workflow for notes, while fixing Visual Edit focus and typewriter-mode regressions.

Highlights

Native Word import

  • Use File → Import Word (.docx) to convert a DOCX locally into a new saved Markdown document.
  • Review a structured conversion report before saving; imports that may lose content require an explicit confirmation.
  • Preserves supported headings, emphasis, links, lists, tables, embedded images, footnotes, equations, and the accepted view of tracked changes.
  • Stores supported images in a portable <document>.assets/ directory beside the Markdown file, publishes assets before Markdown, and never overwrites an existing destination.
  • The importer is offline, bounded, cancellable before publication, and reports simplified or unsupported content instead of silently dropping it.

Git workspace sync and local versions

  • A new Repository menu and Sync sidebar provide setup, status, changes, history, conflict recovery, and everyday Sync Now actions.
  • Connect an existing notes repository, clone an HTTPS/SSH remote, or initialize and publish the current notes folder with safe reviewed defaults.
  • Sync can save eligible notes, create a snapshot commit, fetch, integrate ordinary remote changes, and push the exact resulting commit.
  • Create a deliberate local version by selecting whole files and writing a commit message without contacting the remote; unselected work remains untouched.
  • Text conflicts support hunk/source selection and a separate result draft; binary/image conflicts support side selection or Keep Both. Durable journals and fail-closed checks preserve work across interruption and uncertain network outcomes.
  • Credentials remain with the system credential helper or SSH agent and are not stored in Markion's workspace policy or recovery data.

Visual Edit fixes

  • Focus mode now consistently dims non-current Visual Edit content, including rich blocks and source islands.
  • Typewriter mode stays centered in small windows during typing, IME input, resizing, typography changes, and repeated Enter presses.
  • Fixed a typewriter-mode virtualization issue that could keep preceding paragraphs from painting while the caret remained centered.

Compatibility

  • Existing Markdown documents, preferences, and workspace data require no migration.
  • Git synchronization requires Git 2.39 or newer and an ordinary, non-bare worktree; linked worktrees, submodules, Git LFS, bare, sparse, partial, shallow, detached-HEAD, and nested-repository workspaces remain read-only for synchronization.
  • Native import supports .docx only. Legacy .doc, .docm, encrypted documents, PDF/OCR, and page-layout fidelity are outside this release.
  • Windows and macOS packages are not Authenticode-signed or Apple-notarized, so SmartScreen or Gatekeeper may require a manual bypass. The Windows updater payload itself is authenticated with its dedicated updater signature.

Downloads

  • Windows x64: NSIS installer and updater signature.
  • macOS Apple Silicon: DMG.
  • Linux x86_64: DEB and AppImage.

Verification

  • cargo test --workspace passed locally with no failures; only explicitly ignored external-tool/network tests were skipped.
  • The checked-in MarkNice bundle passed exhaustive verification: 23 files, 3,141,109 bytes.
  • Windows, macOS Apple Silicon, and Linux native CI builds, package extraction checks, and artifact uploads passed.
  • Windows updater signing, signature verification, update.json generation, GitHub publication, and Aliyun OSS mirror/public-reachability checks passed.
  • Feature-specific native smoke coverage is documented in the repository; macOS/Linux credential UI and SSH-agent smoke, plus replay of the original native typewriter document, were not separately performed for this release.

Full comparison: v0.3.5...v0.3.6


Markion v0.3.6(中文说明)

Markion 0.3.6 新增原生离线 Word 导入和完整的应用内 Git 笔记工作流,并修复视觉编辑的聚焦模式与打字机模式回归。

主要更新

原生 Word 导入

  • 通过 文件 → 导入 Word(.docx),可在本地把 DOCX 转换为新的已保存 Markdown 文档。
  • 保存前会显示结构化转换报告;存在内容丢失风险时,必须明确确认后才能继续。
  • 支持保留标题、强调、链接、列表、表格、内嵌图片、脚注、公式,以及修订的“接受后视图”。
  • 支持的图片会保存到 Markdown 旁可携带的 <文档名>.assets/ 目录;先发布资源、再发布 Markdown,并且不会覆盖已有目标。
  • 导入过程离线运行、资源有界、发布前可取消;简化或不支持的内容会明确报告,不会静默丢弃。

Git 工作区同步与本地版本

  • 新增 仓库 菜单和同步侧栏,涵盖设置、状态、变更、历史、冲突恢复与日常 立即同步
  • 可连接现有笔记仓库、克隆 HTTPS/SSH 远端,或用安全的审核默认值初始化并发布当前笔记文件夹。
  • 同步可保存符合策略的笔记、创建快照提交、获取远端、整合普通远端变化,并推送精确的结果提交。
  • 可选择完整文件并填写提交说明来创建本地版本,全程不访问远端;未选择的工作保持不变。
  • 文本冲突支持逐块/整侧选择和独立结果草稿;图片与二进制冲突支持选择一侧或“两者保留”。持久化日志与失败关闭检查可在中断或网络结果不确定时保护工作。
  • 凭据只交给系统凭据助手或 SSH agent,不会写入 Markion 的工作区策略或恢复数据。

视觉编辑修复

  • 聚焦模式现在会一致淡化非当前视觉编辑内容,包括富文本块和源码岛。
  • 打字机模式在小窗口、连续输入、输入法、调整窗口、修改排版和连续回车时保持稳定居中。
  • 修复打字机模式的虚拟列表问题:此前光标虽居中,但前面的段落可能未被绘制。

兼容性

  • 现有 Markdown 文档、偏好设置和工作区数据无需迁移。
  • Git 同步需要 Git 2.39 或更高版本和普通非裸工作树;链接工作树、子模块、Git LFS、裸仓库、稀疏/部分/浅克隆、游离 HEAD 与嵌套仓库仍为同步只读状态。
  • 原生导入仅支持 .docx;旧版 .doc.docm、加密文档、PDF/OCR 与页面版式复刻不在本版本范围内。
  • Windows 与 macOS 安装包没有 Authenticode 签名或 Apple 公证,SmartScreen 或 Gatekeeper 可能要求手动放行;Windows 更新器载荷本身使用专用更新签名验证。

下载

  • Windows x64:NSIS 安装程序与更新器签名。
  • macOS Apple Silicon:DMG。
  • Linux x86_64:DEB 与 AppImage。

验证

  • 本地 cargo test --workspace 零失败;仅跳过明确标记为 ignored 的外部工具/网络测试。
  • 内置 MarkNice bundle 通过完整校验:23 个文件,共 3,141,109 字节。
  • Windows、macOS Apple Silicon、Linux 原生 CI 构建、安装包解包校验和产物上传全部通过。
  • Windows 更新器签名、签名验证、update.json 生成、GitHub 发布,以及阿里云 OSS 镜像与公网可达性校验全部通过。
  • 功能级原生冒烟证据已记录在仓库中;本版本没有另行完成 macOS/Linux 凭据 UI 与 SSH-agent 冒烟,也没有用原始本机打字机文档再次回放。

完整变更对比: v0.3.5...v0.3.6