Releases: willmove/markion
Release list
Markion v0.3.6
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
.docxonly. 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 --workspacepassed 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.jsongeneration, 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
Markion v0.3.5
Markion v0.3.5
Markion can now synchronize a notes workspace through an ordinary Git repository with one click, and typewriter mode keeps the caret centered reliably across every editing surface.
Highlights
Git workspace synchronization
- Sync Now (File menu and status bar) saves eligible named notes, creates a local snapshot commit when content changed, fetches the upstream branch, fast-forwards or merges ordinary divergent history, and pushes to the configured branch — covering buffer, worktree, local history, and remote in one action.
- File → Set Up Git Sync reviews the canonical worktree, branch, current changes, and file policy before connecting a repository. Hidden paths, symlinks, nested repositories, and unsupported binaries stop one-click sync for review; linked worktrees, submodules, LFS, bare, sparse, partial, shallow, and detached-HEAD workspaces are detected and stay read-only.
- Secondary actions — Commit Locally, Check Remote, Pull Updates, and Push Commits — are kept separate so a network failure is never reported as a local-save failure.
- Merge conflicts are resolved per path in the app (This Computer / Remote Version / deletion), verified against the real Git index and worktree bytes before staging. A versioned operation journal outside the repository restores an interrupted operation after a restart, and lost push responses are verified against the remote so retrying never creates duplicate snapshot commits.
- Local Markdown images participate in the same commit as their note; Organize Images copies eligible local images into the note's asset folder. Markion never rebases, stashes, force-pushes, resets, cleans, or deletes branches automatically.
- Optional background remote checks (off by default) poll the active workspace at most once per interval without saving, committing, merging, or pushing.
- Requires Git 2.39+ on
PATHand your platform's secure credential helper (Git Credential Manager, macOS Keychain, libsecret) or SSH agent; Markion never enables plaintext credential storage or disables host-key verification. Seedocs/git-sync.md.
Typewriter mode centering
- Typewriter mode now centers the caret using measured layout geometry: wrapped visual rows in Edit and Split Preview source panes, and the rendered caret row in Visual Edit — instead of counting hard newlines.
- Centering survives tab and view switches, window or pane resizes, and font changes: stale geometry from a previous version, tab, or width no longer displaces the scroll position, and the caret recenters once current geometry is measured.
- Presentation-only leading and trailing scroll room makes the first and final document rows centerable without touching document text, dirty state, undo history, or the derived Markdown cache.
- Manual scrolling is no longer fought by the mode; the next typing or caret movement recenters. In Split Preview with Sync scroll, the preview follows the recentered source pane.
Compatibility
- No migration required: Markdown files, preferences, and workspace data from previous versions load unchanged. The new optional
[git]section inconfig.tomlis additive with defaults. - Windows and macOS installers are unsigned: expect SmartScreen / Gatekeeper prompts on first launch.
- Git sync requires Git 2.39 or newer available on
PATH(or configured via[git] executable).
Downloads
- Windows x64:
markion_0.3.5_x64-setup.exe(NSIS, with signed one-click updater metadata inupdate.json). - macOS Apple Silicon:
Markion_0.3.5_aarch64.dmg. - Linux x86_64:
markion_0.3.5_amd64.debandmarkion_0.3.5_x86_64.AppImage.
Verification
- Local
cargo test --workspace: all suites green. - Native CI builds succeeded on Windows, macOS, and Ubuntu 22.04, including packaged MarkNice workspace manifest verification for every installer.
Full comparison: v0.3.4...v0.3.5
Markion v0.3.5(中文说明)
Markion 现在可以通过普通 Git 仓库一键同步笔记工作区,打字机模式也能在全部编辑界面上稳定地将光标居中。
主要更新
Git 工作区同步
- 立即同步(文件菜单与状态栏)会保存符合条件的已命名笔记,在内容变化时创建本地快照提交,拉取上游分支,快进或合并普通的分叉历史,并推送到已配置分支——一次动作覆盖编辑器缓冲区、工作区文件、本地历史与远端四种状态。
- 文件 → 设置 Git 同步会在接入仓库前让你确认主工作区、分支、当前改动与文件策略。隐藏路径、符号链接、嵌套仓库与不支持的二进制文件会暂停一键同步以供人工检查;链接工作区、子模块、LFS、裸仓库、稀疏/部分/浅克隆以及游离 HEAD 的工作区会被识别并保持只读。
- 本地提交、检查远端、拉取更新、推送提交等次级操作彼此独立,网络故障绝不会被误报为本地保存失败。
- 合并冲突可在应用内按路径逐个解决(本机版本 / 远端版本 / 删除),写入前会对照真实的 Git 索引与工作区字节进行校验。仓库外部的版本化操作日志可在重启后恢复中断的操作;推送响应丢失时会向远端核实,重试不会产生重复的快照提交。
- 笔记引用的本地图片随笔记进入同一提交;整理图片可将符合条件的本地图片复制进笔记的资源目录。Markion 绝不自动执行变基、贮藏、强制推送、重置、清理或删除分支。
- 可选的后台远端检查(默认关闭)按固定间隔仅检查当前工作区,不会保存、提交、合并或推送。
- 需要
PATH上可用的 Git 2.39 及以上版本,以及平台安全的凭据助手(Git Credential Manager、macOS 钥匙串、libsecret)或 SSH agent;Markion 不会启用明文凭据存储,也不会关闭主机密钥校验。详见docs/git-sync.md。
打字机模式居中
- 打字机模式现在基于实测排版几何居中:编辑模式和分屏预览源码面板按软换行后的可视行计算,可视化编辑模式按渲染后的光标行计算——不再按硬换行计数。
- 切换标签页或视图、调整窗口或面板大小、更换字体后居中依然可靠:来自旧版本、旧标签或旧宽度的过期几何数据不会再移动滚动位置,光标会在获得当前几何数据后重新居中。
- 纯展示用途的首尾留白让文档首行和末行都能居中,且不改动文档文本、脏标记、撤销历史或派生 Markdown 缓存。
- 手动滚动不再被模式抢占;下一次输入或移动光标时才重新居中。分屏预览开启滚动同步时,预览会跟随重新居中的源码面板。
兼容性
- 无需迁移:旧版本的 Markdown 文件、偏好设置与工作区数据可直接加载。
config.toml中新增的可选[git]节为增量字段,带默认值。 - Windows 与 macOS 安装包未签名:首次启动时需手动绕过 SmartScreen 或 Gatekeeper 提示。
- Git 同步需要 Git 2.39 及以上版本(可通过
[git] executable指定路径)。
下载
- Windows x64:
markion_0.3.5_x64-setup.exe(NSIS,附带已签名的一键更新元数据update.json)。 - macOS Apple Silicon:
Markion_0.3.5_aarch64.dmg。 - Linux x86_64:
markion_0.3.5_amd64.deb与markion_0.3.5_x86_64.AppImage。
验证
- 本地
cargo test --workspace:全部测试套件通过。 - Windows、macOS、Ubuntu 22.04 原生 CI 构建全部成功,每个安装包均通过 MarkNice 工作区清单校验。
完整变更对比: v0.3.4...v0.3.5
Markion v0.3.4
Markion v0.3.4
A Linux stability release: typing Chinese or Korean through an XIM input method on X11 no longer crashes Markion.
Highlights
Fixes
- Linux X11 input-method crash: entering Chinese or Korean through an XIM server such as IBus could terminate Markion when the server sent a valid legacy COMPOUND_TEXT preedit. The bundled decoder now handles GB2312 and KS C 5601 payloads, and malformed or genuinely unsupported server data degrades to a logged, recoverable error instead of a main-thread panic. Composition, commit, cancellation, and subsequent typing continue normally, and canonical document state, undo grouping, and per-version caches are untouched.
- Failure cleanup: when an XIM connection fails mid-composition, the editor now clears the composing state cleanly so the last accepted text and selection stay valid and plain keyboard input keeps working.
Compatibility
- No migration required: Markdown files, preferences, and workspace data are unchanged.
- Windows and macOS builds are unaffected by this release.
- Markion's Windows and macOS installers are unsigned and may require bypassing SmartScreen or Gatekeeper on first launch.
Downloads
- Windows x64: NSIS installer.
- macOS Apple Silicon: DMG.
- Linux x86_64: DEB and AppImage.
Verification
- Full local workspace test suite passed (
cargo test --workspace). - Focused XIM request-boundary tests for Chinese (GB2312) and Korean (KS C 5601) COMPOUND_TEXT payloads pass on Linux (Ubuntu,
x86_64-unknown-linux-gnu), including safe degradation on invalid payloads. - Windows, macOS, and Linux native CI builds succeeded, including installer packaging verification.
Full comparison: v0.3.3...v0.3.4
Markion v0.3.4(中文说明)
一个 Linux 稳定性版本:在 X11 下通过 XIM 输入法输入中文或韩文不再导致 Markion 崩溃。
主要更新
修复
- Linux X11 输入法崩溃:此前在 X11 下通过 IBus 等 XIM 输入法输入中文或韩文时,输入法服务器发送合法的旧式 COMPOUND_TEXT 预编辑串可能导致 Markion 直接退出。内置解码器现已支持 GB2312 与 KS C 5601 编码;对于格式错误或确实不支持的数据,改为记录日志并安全降级,不再引发主线程崩溃。输入组合、提交、取消及后续输入均正常继续,文档内容、撤销分组与派生缓存不受影响。
- 故障清理:当 XIM 连接在输入组合中途失败时,编辑器现在会正确清理组合状态,保证已接受的文本与选区保持有效,普通键盘输入可继续使用。
兼容性
- 无需迁移:Markdown 文件、偏好设置与工作区数据格式均无变化。
- 本版本不影响 Windows 与 macOS 构建。
- Markion 的 Windows 与 macOS 安装包未签名,首次运行时可能需要手动绕过 SmartScreen 或 Gatekeeper。
下载
- Windows x64:NSIS 安装程序。
- macOS Apple Silicon:DMG。
- Linux x86_64:DEB 与 AppImage。
验证
- 本地完整 workspace 测试套件通过(
cargo test --workspace)。 - 针对中文(GB2312)与韩文(KS C 5601)COMPOUND_TEXT 负载的 XIM 请求边界测试在 Linux(Ubuntu,
x86_64-unknown-linux-gnu)上通过,包含无效负载的安全降级用例。 - Windows、macOS、Linux 原生 CI 构建全部成功,含安装包打包校验。
完整变更对比: v0.3.3...v0.3.4
Markion v0.3.3
Markion v0.3.3
Adds a recent-workspace switcher so you can move between folders and restore each folder’s last path-backed tabs.
Highlights
Recent workspace switcher
- The Files-panel workspace-name header is now a switcher: current folder, recent folders, and Open Folder.
- Each workspace root keeps its own ordered list of path-backed tabs (Markdown, curated text, and supported images) plus the active file in
session.toml. - Switching to a remembered folder snapshots the current workspace, closes only clean tabs, keeps every dirty tab without a Save / Don't Save prompt, then restores that folder’s last path-backed tabs and rescans the tree.
- File → Open Folder of a remembered directory uses the same restore path; a new directory keeps dirty tabs and shows a welcome tab only when nothing remains open.
- Opening a file outside the current workspace still rebases the file-tree root only and does not replace the live tab set.
- Empty Files panel can list recent folders when no workspace root is established yet. Labels and status messages are localized.
Compatibility
- No migration required for Markdown files or preferences. Existing
session.tomlfiles with a single snapshot are promoted into one workspace entry on load. - MarkNice workspace bundle is unchanged from v0.3.2; prior Windows Edge and WeChat evidence carries over. macOS and Linux manual browser checks remain deferred as authorized since v0.2.1.
- Windows and macOS installers are unsigned; SmartScreen or Gatekeeper bypass may still be required.
Downloads
- Windows x64: NSIS installer.
- macOS Apple Silicon: DMG.
- Linux x86_64: DEB and AppImage.
Verification
- Local:
cargo test --workspacepassed;verify-bundlepassed forassets/marknice-workspace. - CI: Windows, macOS, and Linux native package jobs on the
v0.3.3tag workflow, including updater signing, GitHub Release publication, and Aliyun OSS mirror.
Full comparison: v0.3.2...v0.3.3
Markion v0.3.3(中文说明)
新增最近工作区切换器,便于在多个文件夹之间切换,并恢复每个文件夹上次打开的路径标签页。
主要更新
最近工作区切换
- Files 面板工作区名称标题变为切换器:当前文件夹、最近文件夹,以及打开文件夹。
- 每个工作区根目录在
session.toml中各自保存有序的路径标签页(Markdown、受支持文本与图片)以及活动文件。 - 切换到已记住的文件夹时,会先快照当前工作区,只关闭干净标签页,保留所有未保存标签页且不弹出保存确认,再恢复目标文件夹上次的路径标签页并重新扫描文件树。
- 通过「文件 → 打开文件夹」打开已记住目录时走同一恢复路径;打开新目录时保留脏标签页,仅在没有任何标签页时显示欢迎页。
- 在当前工作区外打开文件仍只变更多文件树根,不会用目标目录的快照替换当前标签页。
- 尚未建立工作区根且存在最近记录时,空状态可列出最近文件夹。相关文案已本地化。
兼容性
- Markdown 文件与偏好设置无需迁移。仅含单一快照的旧版
session.toml会在加载时提升为一条工作区记录。 - MarkNice 工作区包与 v0.3.2 相同;既有 Windows Edge 与微信粘贴证据继续适用。macOS / Linux 手动浏览器检查自 v0.2.1 起仍按维护者授权延后。
- Windows 与 macOS 安装包未签名,可能仍需手动绕过 SmartScreen 或 Gatekeeper。
下载
- Windows x64:NSIS 安装程序。
- macOS Apple Silicon:DMG。
- Linux x86_64:DEB 与 AppImage。
验证
- 本地:
cargo test --workspace通过;assets/marknice-workspace的verify-bundle通过。 - CI:
v0.3.3标签工作流的 Windows / macOS / Linux 原生打包,以及更新器签名、GitHub Release 发布与阿里云 OSS 镜像。
完整变更对比: v0.3.2...v0.3.3
Markion v0.3.2
Markion v0.3.2
Stability release focused on audit hardening: crash and performance fixes plus correctness repairs for images, YAML front matter, and trailing subscript.
Highlights
Reliability and performance
- Non-ASCII URL autodetection no longer truncates or panics on Unicode domains and CJK paths.
- Callout titles ending in CJK no longer poison caret/selection state through mid-character offsets.
- Status bar stats no longer force a full Markdown parse on every Edit-mode keystroke; basic byte/char/word/line counts are version-cached.
- Diagram backends that panic (for example adversarial Mermaid source) are caught and reported as render failures instead of crashing the preview.
Data-URI image identity
- Distinct large data-URI images that previously collided under sampled fingerprints now keep separate cache identities via a complete SHA-256 digest computed once per document version.
- Pending full payloads remain available for decode, then release, without hashing or cloning multi-megabyte sources on every repaint.
YAML front matter and export
- Front-matter rendering now serializes the complete typed mapping, so one-element sequences, nested containers, multiline strings, and hostile scalars round-trip correctly.
- DOCX and PDF title overrides use the same YAML-safe path and no longer break pandoc input or mutate the source document.
Markdown extended inline
- Trailing subscript such as
H~2~is recognized again when GFM strikethrough splits the text into contiguous events, without reclassifying~~strike~~or escaped tildes.
Compatibility
- No migration required for Markdown files, preferences, or workspace data.
- MarkNice workspace bundle is unchanged from v0.3.1 (revision
c009c1ec7e7c92f89afa5a32edcb126b5296bda7); prior Windows Edge and WeChat evidence carries over. macOS and Linux manual browser checks remain deferred as authorized since v0.2.1. - Windows and macOS installers are unsigned; SmartScreen or Gatekeeper bypass may still be required. Manual multi-megabyte data-URI image interaction verification remains outstanding.
Downloads
- Windows x64: NSIS installer.
- macOS Apple Silicon: DMG.
- Linux x86_64: DEB and AppImage.
Verification
- Local:
cargo test --workspacepassed;verify-bundlepassed forassets/marknice-workspace. - CI: Windows, macOS, and Linux native package jobs on the
v0.3.2tag workflow, including updater signing, GitHub Release publication, and Aliyun OSS mirror.
Full comparison: v0.3.1...v0.3.2
Markion v0.3.2(中文说明)
稳定性版本,聚焦审计加固:修复崩溃与性能问题,并纠正图片缓存身份、YAML front matter 与尾部下标语法的正确性。
主要更新
可靠性与性能
- 含 Unicode 域名或 CJK 路径的非 ASCII URL 自动识别不再截断或 panic。
- 以 CJK 结尾的 Callout 标题不再因半字符偏移污染光标/选区状态。
- 状态栏统计在编辑模式下不再每键强制完整 Markdown 解析;字节/字符/词/行基础计数按文档版本缓存。
- 图表后端 panic(例如对抗性 Mermaid 源)会被捕获并报告为渲染失败,而不再拖垮预览。
Data-URI 图片身份
- 此前在采样指纹下会冲突的等长大 data-URI 图片,现按完整 SHA-256 摘要保留独立缓存身份,摘要在每个文档版本只计算一次。
- 待解码的完整载荷仍可按需保留并在完成后释放,避免每帧对多兆字节载荷做哈希或克隆。
YAML front matter 与导出
- Front matter 以完整类型化 mapping 序列化,单元素序列、嵌套容器、多行字符串与敌对标量均可正确往返。
- DOCX/PDF 标题覆盖走同一套 YAML 安全路径,不再破坏 pandoc 输入,也不会改写源文档。
Markdown 扩展行内语法
- 当 GFM 删除线把文本拆成相邻事件时,尾部下标(如
H~2~)可再次识别,且不会把~~strike~~或转义波浪线误判。
兼容性
- Markdown 文件、偏好设置与工作区数据无需迁移。
- MarkNice 工作区包与 v0.3.1 相同(修订
c009c1ec7e7c92f89afa5a32edcb126b5296bda7);既有 Windows Edge 与微信粘贴证据继续适用。macOS / Linux 手动浏览器检查自 v0.2.1 起仍按维护者授权延后。 - Windows 与 macOS 安装包未签名,可能仍需手动绕过 SmartScreen 或 Gatekeeper。超大 data-URI 图片的手动交互验证仍待补齐。
下载
- Windows x64:NSIS 安装程序。
- macOS Apple Silicon:DMG。
- Linux x86_64:DEB 与 AppImage。
验证
- 本地:
cargo test --workspace通过;assets/marknice-workspace的verify-bundle通过。 - CI:
v0.3.2标签工作流的 Windows / macOS / Linux 原生打包,以及更新器签名、GitHub Release 发布与阿里云 OSS 镜像。
完整变更对比: v0.3.1...v0.3.2
Markion v0.3.1
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 insession.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 insession.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-workspacebundle 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
Markion v0.2.10
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
Markion v0.2.9
Markion v0.2.9
This release widens local-image support in the WeChat (MarkNice) publishing preview, adds a full set of code-block display preferences, and brings more direct editing affordances to Visual Edit.
Highlights
WeChat publishing workspace: local images
- Local images resolve wherever you keep them. The MarkNice preview now serves images referenced from the document's own folder, any subfolder below it, and one level up (
../cover.png) — so notes written in Typora/Obsidian-style layouts render correctly instead of showing broken images. - New "Organize Local Images" command. For images still out of scope (e.g.
../../shared/logo.pngor absolute paths), a confirmation prompt lists them and, on confirm, copies each file into the document's<stem>.assets/folder and rewrites the references as one undoable edit. - Fixed Organize Local Images not rewriting references written with Windows backslashes or HTML entity-encoded destinations.
Appearance preferences: code blocks
- New Code blocks section under Preferences → Appearance with a Light / Dark code highlight theme (Dark remains the default, preserving the previous look), applied consistently in Read mode, Split Preview, and the Visual Edit code editor.
- Show line numbers moved from the General tab into this section.
- New Wrap long lines toggle — when off, long code lines scroll horizontally instead of soft-wrapping.
- New independent code font size control (10–32px), with a one-click way to follow the reading font size again. The code font-family setting also moved into this section.
Visual Edit
- Double-click selects a word — works across Latin words, CJK runs, and punctuation runs, maps the selection precisely back to the Markdown source (bold markers and other hidden syntax are preserved when you type over the selection), and selects the full source of rendered atoms such as inline math.
- Standalone images gain the hover
</>source toggle already familiar from math and diagram blocks: the completespan opens in a monospaced editor above the image, and the editor opens automatically if the image fails to load. - Code fence language is now editable in place: hovering a fence (or clicking into it) reveals a language chip; committing rewrites only the language token while preserving the rest of the info string and the code content. Diagram fences expose the same chip in their source editor.
- The Visual Edit image block no longer shows the three-field Alt/Destination/Title table — a single read-only caption (title, otherwise alt text) keeps the surface clean, with full source available on demand via the
</>toggle.
Compatibility
- No migration required: Markdown documents, workspace data, and existing preferences load unchanged. The new code-display preferences use tolerant defaults when absent.
- Platform notes are unchanged: the Windows and macOS installers are not code-signed, so SmartScreen / Gatekeeper bypass steps still apply; the macOS build is Apple Silicon only.
Downloads
- Windows x64: NSIS installer (
markion_0.2.9_x64-setup.exe, signed for the in-app updater — seeupdate.json). - macOS Apple Silicon: DMG (
Markion_0.2.9_aarch64.dmg). - Linux x86_64: DEB (
markion_0.2.9_amd64.deb) and AppImage (markion_0.2.9_x86_64.AppImage).
Verification
- Full local workspace test suite (
cargo test --workspace) passed. - Packaged MarkNice workspace bundle verified locally (
verify-bundle: 23 files). - Windows, macOS, and Linux native CI builds succeeded, each with packaged-workspace verification, and the Windows updater metadata was signed in CI.
Full comparison: v0.2.8...v0.2.9
Markion v0.2.9(中文说明)
本次发布扩展了微信(MarkNice)发布预览对本地图片的支持,新增完整的代码块显示偏好设置,并为可视化编辑模式带来了更多直接编辑能力。
主要更新
微信发布工作区:本地图片
- 本地图片不再受存放位置限制。 MarkNice 预览现在可以解析位于 Markdown 文件同目录、任意子目录以及上一级目录(
../cover.png)中的图片——以 Typora/Obsidian 风格组织的笔记可以正常渲染,不再显示为裂图。 - 新增「整理本地图片」命令。 对于仍超出范围的引用(如
../../shared/logo.png或绝对路径),确认提示会列出这些图片,确认后将每个文件复制到文档的<stem>.assets/目录,并作为一次可撤销的编辑重写引用。 - 修复 了整理本地图片时无法重写使用 Windows 反斜杠或 HTML 实体编码路径的引用的问题。
外观偏好:代码块
- 「偏好设置 → 外观」新增代码块设置区,提供浅色 / 深色代码高亮主题(默认深色,保持原有外观),在阅读模式、分屏预览和可视化编辑的代码编辑器中一致生效。
- 显示行号开关从「通用」页签移入该区。
- 新增长行自动换行开关——关闭后,超长代码行改为横向滚动而非软换行。
- 新增独立的代码字号调节(10–32px),可一键恢复为跟随正文字号。代码字体设置也移入该区。
可视化编辑
- 双击选中单词——支持拉丁单词、连续中文(CJK)片段和标点片段;选区精确映射回 Markdown 源码(在选区上输入时保留加粗等隐藏语法标记),对内联公式等渲染单元则选中其完整源码。
- 独立图片块新增悬停
</>源码开关(与公式、图表块一致):完整的语句在图片上方的等宽编辑器中展开;图片加载失败时会自动展开源码编辑器。 - 代码块语言可就地修改:悬停(或点入)代码块会显示语言标签,提交后仅重写语言标记,保留信息串的其余部分和代码内容。图表演的源码编辑器中也提供同样的标签。
- 可视化编辑中的图片块不再显示 Alt/链接/标题三栏编辑表格——改为单行只读说明文字(优先标题,否则 Alt 文本),需要时可通过
</>开关编辑完整源码。
兼容性
- 无需迁移:Markdown 文档、工作区数据和现有偏好设置均原样加载。新增的代码显示偏好在缺失时使用容错默认值。
- 平台说明不变:Windows 与 macOS 安装包未签名,仍需手动绕过 SmartScreen / Gatekeeper;macOS 版本仅支持 Apple Silicon。
下载
- Windows x64:NSIS 安装程序(
markion_0.2.9_x64-setup.exe,已为应用内更新器签名——见update.json)。 - macOS Apple Silicon:DMG(
Markion_0.2.9_aarch64.dmg)。 - Linux x86_64:DEB(
markion_0.2.9_amd64.deb)与 AppImage(markion_0.2.9_x86_64.AppImage)。
验证
- 本地完整 workspace 测试套件(
cargo test --workspace)全部通过。 - 打包的 MarkNice 工作区资源包已通过本地校验(
verify-bundle:23 个文件)。 - Windows、macOS、Linux 原生 CI 构建全部成功,均包含打包工作区校验;Windows 更新器元数据已在 CI 中完成签名。
完整变更对比: v0.2.8...v0.2.9
Markion v0.2.8
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 --workspacepassed with zero failures, and the bundled MarkNice publishing workspace passedverify-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
Markion v0.2.7
Markion v0.2.7
Markion v0.2.7 reworks the built-in MarkNice publishing workspace to match the MarkNice editor experience, and polishes everyday editor chrome (window title, Preferences layout, Markdown Reference).
Highlights
MarkNice publishing workspace rework
- The workspace chrome now follows the MarkNice editor skin: dual rounded cards with traffic-light panel headers, an indigo accent palette, SVG formatting and preview-mode icons, grouped font-size and paragraph-spacing steppers, and a 375px phone frame with notch for mobile preview.
- New session-local Word (.docx) import that runs entirely inside the browser tab. Importing replaces only the workspace textarea and preview; it never writes back to the Markion document, and the workspace tells you that recovery into Markion requires Copy Markdown or an explicit save of the session Markdown.
- New Save as PDF that prints a clone of the current themed, sanitized publishing preview — the selected template and typography offsets are preserved. This uses the browser print dialog and is distinct from Markion's native Export → PDF.
- Export actions are relabeled to match MarkNice wording: Save as HTML and Save as Word. The browser-only JSZip runtime is vendored with provenance, digests, and licenses, so builds, tests, and packaging still require neither Node.js nor a MarkNice checkout; the installers grow slightly in size.
Window title and status bar
- The native window title now shows the active file name after the brand (for example
Markion - notes.md), including the*unsaved-changes marker. - The status bar no longer repeats the brand, file name, and dirty marker, leaving its left region for save state, operation feedback, and document context (counts, caret, Git branch).
Preferences: Appearance tab
- The Preferences Theme tab is renamed Appearance in every supported interface language and now hosts document typography alongside the theme swatches: source and reading font sizes, paragraph spacing, and the source, rendered, and code font families.
- General keeps language, display/workspace toggles, and Auto-save. Tab order stays General, Appearance, Shortcuts, Export, and documentation now points to Preferences → Appearance.
Markdown Reference
- A Kenhuang Markdown tutorial link now sits at the top of the Markdown Reference overlay, always visible without scrolling. It opens the Chinese tutorial for Simplified/Traditional Chinese interface languages and the English tutorial otherwise, in your system default browser.
Compatibility
- No migration is required: Markdown files, preferences (
config.toml), session/recent-file data, and workspace data are all read unchanged. - The workspace bundle now ships the vendored JSZip and Word-import runtime, so installer size increases modestly.
- Windows and macOS installers remain unsigned: SmartScreen or Gatekeeper bypass steps are still normally required. The Windows one-click updater remains authenticated by its Minisign signature.
Downloads
- Windows x64: NSIS installer (
markion_0.2.7_x64-setup.exe). - macOS Apple Silicon: DMG (
Markion_0.2.7_aarch64.dmg). - Linux x86_64: DEB (
markion_0.2.7_amd64.deb) and AppImage (markion_0.2.7_x86_64.AppImage).
Verification
- Local:
cargo test --workspacepassed on Windows (all suites, 0 failures); the workspace bundle verifier passed (23 files, MarkNice revisionc009c1e); the loopback browser self-test reported PASS (15 themes + formatting + exports + skin + Word import + themed print-to-PDF). - CI: Windows, macOS, and Linux native build/package jobs, Windows updater signing, Release publication, and the Aliyun OSS mirror all succeeded for the
v0.2.7tag workflow.
Full comparison: v0.2.6...v0.2.7
Markion v0.2.7(中文说明)
Markion v0.2.7 将内置的 MarkNice 发布工作区重构为与 MarkNice 编辑器一致的体验,并打磨了日常编辑器外观(窗口标题、偏好设置布局、Markdown 参考)。
主要更新
MarkNice 发布工作区重构
- 工作区外观改为 MarkNice 编辑器皮肤:双圆角卡片与红绿灯面板标题、靛蓝主色调、SVG 格式化与预览模式图标、成组的字号/段距步进器,以及带刘海的 375px 手机框预览。
- 新增会话本地 Word(.docx)导入,完全在浏览器标签页内运行。导入只替换工作区的输入区与预览,绝不回写 Markion 文档;工作区会提示通过「复制 Markdown」或显式保存会话 Markdown 才能找回内容。
- 新增存为 PDF:打印当前带主题、已净化的发布预览的克隆——所选模板与排版偏移都会保留。它使用浏览器打印对话框,与 Markion 原生「导出 → PDF」是两条不同路径。
- 导出操作按 MarkNice 措辞改名:存为 HTML、存为 Word。浏览器专用的 JSZip 运行时以来源、摘要与许可证一并内置,构建、测试与打包依然不需要 Node.js 或 MarkNice 检出;安装包体积略有增加。
窗口标题与状态栏
- 原生窗口标题现在在品牌名后显示当前文件名(例如
Markion - notes.md),并包含*未保存标记。 - 状态栏不再重复品牌名、文件名与未保存标记,左侧区域留给保存状态、操作反馈与文档上下文(统计、光标、Git 分支)。
偏好设置:外观标签页
- 偏好设置的主题标签页在所有界面语言中更名为外观,并在主题色板之外集中文档排版设置:源码与阅读字号、段距,以及源码、渲染、代码三种字体。
- 「通用」保留语言、显示/工作区开关与自动保存。标签页顺序仍为 通用、外观、快捷键、导出,相关文档已改指向 偏好设置 → 外观。
Markdown 参考
- Markdown 参考叠加层顶部新增 Kenhuang Markdown 教程链接,无需滚动即可见。简体/繁体中文界面打开中文教程,其他语言打开英文教程,使用系统默认浏览器。
兼容性
- 无需迁移:Markdown 文件、偏好设置(
config.toml)、会话/最近文件数据与工作区数据均按原样读取。 - 工作区资源包新增内置的 JSZip 与 Word 导入运行时,安装包体积小幅增加。
- Windows 与 macOS 安装包仍未签名,通常需要手动绕过 SmartScreen 或 Gatekeeper;Windows 一键更新仍由 Minisign 签名认证。
下载
- Windows x64:NSIS 安装程序(
markion_0.2.7_x64-setup.exe)。 - macOS Apple Silicon:DMG(
Markion_0.2.7_aarch64.dmg)。 - Linux x86_64:DEB(
markion_0.2.7_amd64.deb)与 AppImage(markion_0.2.7_x86_64.AppImage)。
验证
- 本地:Windows 上
cargo test --workspace全部通过(0 失败);工作区资源包校验器通过(23 个文件,MarkNice 版本c009c1e);loopback 浏览器自测报告 PASS(15 个主题 + 格式化 + 导出 + 皮肤 + Word 导入 + 主题化打印 PDF)。 - CI:
v0.2.7tag 工作流的 Windows、macOS、Linux 原生构建/打包、Windows 更新器签名、Release 发布与阿里云 OSS 镜像全部成功。
完整变更对比: v0.2.6...v0.2.7