Skip to content

Markion v0.3.1

Choose a tag to compare

@github-actions github-actions released this 04 Sep 04:37
· 23 commits to main since this release

Markion v0.3.1

Markion v0.3.1 makes workspace file management more fluid with drag-to-move and path copying in the Files sidebar, remembers your window and panel layout across launches, and adds a friendly GitHub-star invitation to the About dialog.

Highlights

File tree drag-move and path copy

  • Drag any file or folder row in the Files sidebar and drop it onto a folder, onto a file inside a folder, or onto the workspace root to move it there on disk; the tree refreshes automatically.
  • Right-click a file or folder to use the new Copy Path and Copy Relative Path menu items, which write the platform-normal absolute path or the workspace-relative path to the clipboard with localized status feedback.
  • Open tabs whose files were moved — including everything inside a moved folder — are remapped to their new locations, so you keep editing without reopening.

Window and panel layout memory

  • Markion now remembers the last window size and screen position (including maximized state) and restores them on the next launch, with safe clamping when the saved rectangle falls outside every current display.
  • The live sidebar width and the Split Preview editor/preview divider ratio are also restored.
  • Layout values live in a machine-local [layout] table in session.toml, so Reset Preferences does not wipe them, and writes are debounced while you drag the window or a divider.

About dialog

  • Help → About Markion now shows a short, localized invitation to star the project, with a one-click link that opens the GitHub repository in your default browser.

Compatibility

  • No migration required. Markdown files, preferences (config.toml), and existing session data are unchanged; older versions simply ignore the new optional [layout] table in session.toml.
  • Windows and macOS installers are not code-signed: expect a SmartScreen prompt on Windows (choose "More info" → "Run anyway") and a Gatekeeper prompt on macOS (right-click → Open). The Windows installer is minisign-signed for the in-app updater.
  • The one-click Windows updater updates from v0.2.10 and later; it refuses to start while any document has unsaved changes, and manual download remains available as a fallback.

Downloads

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

Verification

  • Local cargo test --workspace: all suites pass.
  • Packaged assets/marknice-workspace bundle verified (23 files) locally and in each native CI build.
  • Windows, macOS, and Linux native CI builds, the Windows updater signing job, and the GitHub Release publish job all succeed for tag v0.3.1.

Full comparison: v0.2.10...v0.3.1


Markion v0.3.1(中文说明)

Markion v0.3.1 让工作区文件管理更顺手:文件侧边栏支持拖拽移动和复制路径;窗口与面板布局在重启后自动恢复;关于对话框新增 GitHub Star 邀请。

主要更新

文件树拖拽移动与路径复制

  • 在「文件」侧边栏中拖动任意文件或文件夹,放到目标文件夹、文件夹内的某个文件上,或工作区根目录,即可将其移动到该位置,文件树自动刷新。
  • 右键点击文件或文件夹可使用新增的复制路径复制相对路径菜单项,将平台规范的绝对路径或工作区相对路径写入剪贴板,并给出本地化状态提示。
  • 已打开的标签页如果对应被移动的文件(包括被移动文件夹内的所有文件),会自动映射到新位置,无需重新打开即可继续编辑。

窗口与面板布局记忆

  • Markion 现在会记住上次的窗口大小和屏幕位置(包括最大化状态),并在下次启动时恢复;当保存的位置超出当前所有显示器范围时会安全地重新居中或收缩。
  • 侧边栏实时宽度和「分屏预览」中编辑器/预览的分割比例也会被恢复。
  • 布局值保存在 session.toml 的机器本地 [layout] 表中,「重置偏好设置」不会清除它们;拖动窗口或分隔条期间的写入做了防抖处理。

关于对话框

  • 「帮助 → 关于 Markion」新增了一句简短的本地化 Star 邀请,并提供一键链接,在系统默认浏览器中打开 GitHub 仓库。

兼容性

  • 无需迁移。Markdown 文件、偏好设置(config.toml)和现有会话数据均不受影响;旧版本会直接忽略 session.toml 中新增的可选 [layout] 表。
  • Windows 与 macOS 安装包未做代码签名:Windows 上会看到 SmartScreen 提示(选择「仍要运行」),macOS 上会看到 Gatekeeper 提示(右键 → 打开)。Windows 安装包使用 minisign 签名,供应用内更新器校验。
  • Windows 一键更新器支持从 v0.2.10 及更高版本升级;任何文档存在未保存修改时会拒绝开始更新,签名路径失败时仍可手动下载安装。

下载

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

验证

  • 本地 cargo test --workspace:全部测试套件通过。
  • 打包的 assets/marknice-workspace 资源包(23 个文件)已在本地及每个原生 CI 构建中验证。
  • Windows、macOS、Linux 原生 CI 构建、Windows 更新器签名任务与 GitHub Release 发布任务在 v0.3.1 标签上全部成功。

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