User Guide
Get up and running in three steps.
使用教程
三步开始使用。
Login
Two ways to authenticate with GitHub:
OAuth Login Recommended
Authorize through Safari — no token creation needed.
- Open the app and tap Login with GitHub
- Safari opens GitHub's authorization page
- Sign in and tap Authorize
- You're returned to the app automatically
repo (read/write repositories), user (profile info), gist (share as Gist). If you logged in before the Share as Gist feature existed, sign out and log in again to grant the gist scope.
PAT Login (Personal Access Token)
For users who prefer manual token management.
- On GitHub: Settings → Developer settings → Personal access tokens → Tokens (classic)
- Generate a new token with
repo,gist, andread:userscopes - Copy the token (it won't be shown again)
- In the app: tap Login with PAT and paste the token
登录
两种方式通过 GitHub 认证:
OAuth 登录 推荐
通过 Safari 授权,无需手动创建 Token。
- 打开 App,点击 Login with GitHub
- 系统弹出 Safari 视图,跳转至 GitHub 授权页
- 用 GitHub 账号登录,点击 Authorize
- 自动返回 App,完成登录
repo(仓库读写)、user(用户信息)、gist(创建 Gist)。若你之前已登录但未包含 gist 权限,请退出后重新授权。
PAT 登录(个人访问令牌)
适合希望手动管理 Token 的用户。
- 在 GitHub:Settings → Developer settings → Personal access tokens → Tokens (classic)
- 生成新 Token,勾选
repo、gist、read:user权限 - 复制 Token(离开页面后无法再次查看)
- 在 App 中点击 Login with PAT,粘贴 Token
Repositories
Clone a Repository
After login, your GitHub repositories are listed. Tap any repo and select Clone to download it to your device. Large repositories may take a moment on cellular — Wi-Fi is recommended.
Pull Latest Changes
Open the Git panel (bottom tab) and tap Pull to fetch the latest commits from GitHub.
Favorites & Recent
Mark frequently used files as favorites from the ··· menu in the editor. Access favorites and recent files from the top of the file tree.
仓库管理
克隆仓库
登录后可看到你的 GitHub 仓库列表。点击任意仓库,选择 Clone 将文件下载到设备本地。大型仓库在移动网络下可能较慢,建议在 Wi-Fi 环境下操作。
拉取最新改动
打开 Git 面板(底部标签),点击 Pull 拉取 GitHub 上的最新提交。
收藏与最近文件
在编辑器的 ··· 菜单中,可将常用文件标记为收藏。文件树顶部可快速访问收藏和最近编辑的文件。
Editor Basics
The editor has two modes:
The default view when opening a file. Markdown is rendered with full formatting. Tap anywhere in the document to switch to editing.
WYSIWYG editing — formatting renders as you type. The keyboard toolbar appears above the keyboard. Dismiss the keyboard (tap the ⌨️ button or swipe down) to save and return to Preview.
编辑器基础
编辑器有两种模式:
打开文件后的默认视图。Markdown 渲染为完整格式。点击文档任意位置切换到编辑模式。
所见即所得——边输入边渲染格式。键盘上方出现格式工具栏。点击收起键盘按钮(⌨️)或向下滑动关闭键盘,自动保存并返回预览。
Format Toolbar
The toolbar appears above the keyboard in Edit Mode.
| Button | Action | Toggle Off |
|---|---|---|
| ↩ / ↪ | Undo / Redo | — |
| H1 | Heading 1 | Tap again |
| H2 | Heading 2 | Tap again |
| B | Bold | Tap again |
| I | Italic | Tap again |
| Strikethrough | Tap again | |
| • List | Bullet list | Tap again |
| 1. List | Ordered list | Tap again |
| ☑ | Task list | Tap again |
</> | Code block | Tap again |
| " | Blockquote | Tap again |
| — | Horizontal rule | — |
| 🔗 | Insert link | — |
| ⌨️ | Dismiss keyboard | — |
格式工具栏
编辑模式下键盘上方显示格式工具栏。
| 按钮 | 操作 | 取消 |
|---|---|---|
| ↩ / ↪ | 撤销 / 重做 | — |
| H1 | 一级标题 | 再次点击 |
| H2 | 二级标题 | 再次点击 |
| B | 加粗 | 再次点击 |
| I | 斜体 | 再次点击 |
| 删除线 | 再次点击 | |
| • 列表 | 无序列表 | 再次点击 |
| 1. 列表 | 有序列表 | 再次点击 |
| ☑ | 任务列表 | 再次点击 |
</> | 代码块 | 再次点击 |
| " | 引用块 | 再次点击 |
| — | 分割线 | — |
| 🔗 | 插入链接 | — |
| ⌨️ | 收起键盘 | — |
Font Size
Tap the Aa button in the editor's ··· menu to cycle through five sizes:
Your preference is saved and applies across all documents.
字体大小
在编辑器 ··· 菜单中点击 Aa,可在五档字号间切换:
设置全局保存,对所有文档生效。
File Management
Long-press any file or folder in the file tree to open the context menu:
| Action | Description |
|---|---|
| New File | Create a new Markdown or text file in the current folder |
| New Folder | Create a subfolder |
| Rename | Rename file or folder |
| Move To | Move to another folder in the same repository |
| Delete | Delete the file (requires confirmation) |
| Favorite | Add to / remove from favorites |
文件管理
在文件树中长按任意文件或文件夹,打开上下文菜单:
| 操作 | 说明 |
|---|---|
| 新建文件 | 在当前文件夹中创建新的 Markdown 或文本文件 |
| 新建文件夹 | 创建子文件夹 |
| 重命名 | 重命名文件或文件夹 |
| 移动到 | 移动到同一仓库的其他文件夹 |
| 删除 | 删除文件(需二次确认) |
| 收藏 | 添加或取消收藏 |
Git Operations
Commit & Push
- Open the Git panel (bottom tab bar)
- Changed files are listed with their status (modified / new / deleted)
- Write a commit message and tap Commit & Push
View Diff
Tap any changed file in the Git panel to see a line-by-line diff of your changes.
Discard Changes
Swipe left on a changed file, or use the context menu, to discard changes and revert to the last committed version.
Pull
Tap Pull in the Git panel to fetch the latest commits from GitHub and merge them locally.
Conflict Handling
If a push fails because the remote has new commits, you'll be prompted to pull first. After pulling, if there are conflicts, the conflicting files will be highlighted. Resolve conflicts in the editor, then commit.
Git 操作
提交与推送
- 打开底部标签栏的 Git 面板
- 查看已修改文件列表(修改 / 新增 / 删除)
- 填写 commit 信息,点击 Commit & Push
查看 Diff
点击 Git 面板中任意已修改的文件,可查看逐行 diff。
丢弃改动
在 Git 面板中向左滑动某个文件,或通过上下文菜单,选择丢弃改动,恢复到上一次提交的版本。
拉取
在 Git 面板点击 Pull,拉取 GitHub 上的最新提交并合并到本地。
冲突处理
如果推送失败(远端有新提交),App 会提示你先拉取。拉取后如有冲突,相关文件会被高亮标注。在编辑器中解决冲突后,重新提交即可。
FAQ
"Share as Gist" shows error: token may be missing 'gist' scope
Your token doesn't have the gist permission. OAuth users: sign out and log in again. PAT users: generate a new token with the gist scope on GitHub.
Clone is very slow or fails
Clone downloads files one by one via GitHub API. Large repositories can take time — use Wi-Fi if possible.
The editor is blank when I return to the app
iOS may terminate the WebView process when the app is in the background for a long time. The app detects this and automatically reloads your content — no action needed, nothing is lost.
Discard doesn't work after a merge conflict
This is a known issue being fixed in v0.5.4. As a workaround, close and reopen the app, then try discard again.
常见问题
"Share as Gist" 提示:token may be missing 'gist' scope
你的 Token 缺少 gist 权限。OAuth 用户:退出登录后重新授权。PAT 用户:在 GitHub 上重新生成包含 gist 权限的 Token 并重新登录。
Clone 非常慢或失败
Clone 通过 GitHub API 逐文件下载,大型仓库耗时较长。建议在 Wi-Fi 环境下操作。
返回 App 后编辑区空白
iOS 可能在长时间后台后终止 WebView 进程。App 会自动检测并重新加载内容,无需手动操作,内容不会丢失。
发生 Git 冲突后 Discard 无效
这是一个已知问题,将在 v0.5.4 中修复。临时解决方法:关闭并重新打开 App 后再尝试 Discard。
Coming Soon
Features not yet available in the current release:
即将推出
当前版本尚不支持的功能: