Skip to content

MarkText v0.2.0

Choose a tag to compare

@github-actions github-actions released this 07 Aug 21:06
· 9 commits to main since this release
1c89555

MarkText for Android v0.2.0 — cloud documents, source code mode, find & replace, and a full theme catalog.

What's new

Open from — and save to — the cloud. Connect OneDrive or Google Drive to browse and open documents from a new full-screen Open page, and use the matching Save as flow to create documents or copies in either cloud, in the folder you choose. Sign-in always happens in your browser — never in an embedded web form — and autosave is conflict-protected end to end: if a file changed remotely while you were editing, MarkText tells you instead of silently overwriting anyone's work. OneDrive name collisions are surfaced, never clobbered; on Google Drive the app uses the narrow drive.file permission, so it can only ever see files you picked or created yourself.

Cloud accounts are optional. Without one, everything stays on your device exactly as before; either way there is no telemetry, and sign-in tokens are stored only on your phone.

Source code mode. Switch the whole document into a plain-text Markdown view, edit the raw source, and hand it back to the rich editor — caret preserved.

Find & replace. The in-document search bar now replaces, too: one match at a time or all at once, with case sensitivity.

Table structure editing. When the caret is in a table, a contextual panel offers row and column commands — insert, delete, move — mirrored in the collapsed quick strip.

30+ themes. The desktop MarkText light and dark theme catalogs, ported — pick per light/dark mode.

Soft line break rendering. A new editing preference renders authored soft breaks as line breaks, and exports write them faithfully as <br>.

File compatibility. Conservative character-set detection for files saved without a BOM, a bounded lifecycle for Android storage permissions, an Android 7.0 launch fix, and a clear notice — instead of a broken app — on very old WebViews.

Fixes and refinements. A review pass over all ten interface languages, smoother large-document loading, and many editor fixes: caret visibility after structural edits, undo selection restore, emoji deletion, same-line display math, sturdier screen-reader and keyboard focus behavior across the new screens.

Upgrade

Install over v0.1.0 — the certificate is unchanged, so it upgrades in place and keeps all your documents and drafts. v0.1.0's update checker will point you here.

Install

Download marktext-android-v0.2.0.apk and open it to install; Android will ask you to confirm. Requires Android 7.0 (API 24) or newer with a reasonably current Android System WebView (Chromium 111+ — older WebViews get a clear upgrade notice).

Known limits

  • New OneDrive documents are capped at 4 MB for now; opening and editing existing large documents is unaffected.
  • The Google Drive folder picker cannot select the My Drive root — pick any folder inside it.
  • Cloud documents cannot be renamed from inside the app yet.

Notes

Feedback and issues are very welcome. Built on MarkText's open-source Muya editor core (MIT).

Full changelog (46 merged changes since v0.1.0)

Cloud documents (#185)

  • Open OneDrive documents over Microsoft Graph with a new Open page (#196)
  • Open Google Drive documents through the Google Picker (#197)
  • Save documents to OneDrive and Google Drive (#198)
  • Bound persisted storage grants with a recents-driven lifecycle (#194)

Editor

  • Source code mode: raw Markdown editing (#182)
  • Find and replace in the in-document search bar (#171)
  • Caret-contextual table panel with seven structure commands (#173), mirrored in the quick strip (#176)
  • Caret restored near its edit after undoing a table command (#177); selection recorded for the session's first undoable op (#175)
  • Soft-break-as-space rendering preference (#192) and authored soft breaks exported as <br> (#178)
  • Progressive mounting for large documents (#161); linear token walker (#159)
  • Same-line double-dollar display math (#141); emoji deletion on code-point boundaries (#140); caret kept visible after Enter and structural edits (#137)

Appearance

  • Catalog-driven theme system with the desktop light themes (#166) and dark themes (#167, #168)
  • Full-width theme picker rows; Custom mode renamed to More (#183)
  • CJK bold rendering fix (#186); theme-mode segments fit long locale labels (#138)

Files and platform

  • Conservative charset detection for files without a BOM (#193)
  • Non-persistable incoming documents imported as local drafts (#163); draft-store quota failure contract pinned (#188)
  • API 24 launch fixes: splash crash and old-WebView error page (#190)
  • Debug builds get their own application id and launcher label (#189); native instrumentation smoke tests (#191)

UX and accessibility

  • App chrome made non-selectable so long presses drive gestures (#170); panel menu dismisses on outside taps (#174)
  • Every draft reachable past the home recency cap (#179); quick-bar reorder press timings tuned (#184)
  • Locale review pass across all ten languages (#187)

Docs and infrastructure

  • README translations for all ten app locales (#164); README images served as downscaled WebP (#165)
  • Update-available link to the GitHub release (#136); v0.1.0 release records (#135, #132)
  • Issue templates (#133, #134); Mobile WebView E2E sharded (#169)
  • Dependency advisories: postcss/brace-expansion/dompurify (#172), mermaid (#195)

Full diff: v0.1.0...v0.2.0


MarkText for Android v0.2.0 —— 云端文档、源码模式、查找替换与完整主题库。

新增内容

打开与保存云端文档。 连接 OneDriveGoogle Drive 账号后,可在新的全屏"打开"页浏览并打开云端文档,并通过"另存为"把新文档或副本保存到任意一家的指定文件夹。登录始终在系统浏览器中完成,不经过应用内嵌网页;自动保存带冲突保护:文件在云端被修改过时会明确提示,不会覆盖任何一方的改动。OneDrive 上遇到重名会提示更换名称而不是覆盖;Google Drive 使用窄权限 drive.file,应用只能访问由用户选中或由它自己创建的文件。

云功能为可选项。 不连接账号时,数据与此前版本一样只保存在本机;无论是否连接,应用都不含任何遥测,登录令牌也只存储在设备上。

源码模式。 将整篇文档切换为纯文本 Markdown 源码进行编辑,返回富文本编辑器时保留光标位置。

查找替换。 文档内搜索栏支持替换:可逐个替换或全部替换,支持区分大小写。

表格结构编辑。 光标位于表格内时显示上下文面板,提供行列的插入、删除、移动等命令;收起状态的快捷条包含同一组命令。

30+ 主题。 移植桌面版 MarkText 的亮色与暗色主题,可按亮暗模式分别设置。

软换行渲染选项。 新增编辑偏好,可将手写的软换行按换行显示;导出时写为 <br>

文件兼容性。 无 BOM 文件的保守编码检测、存储权限的有界生命周期管理、Android 7.0 启动修复;过旧的 WebView 会显示明确的提示页而不是空白界面。

其他改进。 十种界面语言逐条校订;大文档加载更流畅;修复了结构编辑后的光标可见性、撤销后的选区恢复、表情删除、同行块级公式等问题;新增界面的读屏与键盘焦点行为也做了完善。

升级

直接覆盖安装 v0.1.0 即可:签名证书不变,原地升级,文档与草稿全部保留。v0.1.0 的应用内更新检查会指向本页。

安装

下载 marktext-android-v0.2.0.apk 打开安装,Android 会弹出确认。要求 Android 7.0(API 24)及以上,并需要较新的 Android System WebView(Chromium 111+;过旧的 WebView 会显示升级提示)。

已知限制

  • OneDrive 新建文档暂限 4 MB;打开与编辑已有的大文档不受影响。
  • Google Drive 的文件夹选择器无法选中"我的云端硬盘"根目录,需选择其中的文件夹。
  • 云端文档暂不支持在应用内重命名。

说明

欢迎反馈与提交 issue。基于 MarkText 开源的 Muya 编辑内核(MIT)构建。

完整变更列表(46 项)见上方英文部分末尾的折叠区。