文档

飞速MarkDown 使用指南与 Markdown 语法速览

快速上手

  • 下载并安装:前往 发布页 获取对应平台版本。
  • 创建/打开:Ctrl+N 新建、Ctrl+O 打开、Ctrl+S 保存、Ctrl+Shift+S 另存为。
  • 文库:在侧边栏选择资料库,管理文件/文件夹,支持重命名/移动/删除。

编辑模式与所见模式

  • 编辑模式(源码):输入标准 Markdown 语法,中文输入法友好,智能补全括号/引号。
  • 所见模式(WYSIWYG):输入即渲染,所见即所得。双击代码块进入编辑。
  • 切换:Ctrl+E 编辑/预览,Ctrl+W 所见模式开关,Ctrl+R 快速阅读。
  • 缩进:支持 Tab 对列表与选中多行进行缩进。

常用功能

  • 大纲目录:自动提取 H1–H6,点击跳转,滚动同步。
  • 安全预览:内置 markdown-it + 代码高亮 + XSS 清洗。
  • 扩展市场:安装 WebDAV 同步、AI 助手、发布到博客等扩展。

扩展与 AI 助手

安装 AI 写作助手

  1. 打开应用的 扩展 面板 → 进入 可安装的扩展
  2. 搜索并选择 AI 写作助手 → 点击安装。
  3. 按提示进行首次配置(模型/服务商与密钥)。多数 OpenAI 兼容服务可直接使用。

常见能力

  • 润色:优化选中文本的用词与表达,保持语义不变。
  • 纠错:修正文法/错别字,必要时给出建议替换。
  • 续写:在光标处继续撰写段落,风格与上下文保持一致。
  • 提纲:基于全文或当前章节生成结构化大纲。
  • Mermaid 图表:根据文本生成流程图/时序图/甘特图等 Mermaid 代码。

交互方式

  1. 点击工具栏的 AI 按钮,弹出 AI 对话框。
  2. 在对话框中直接描述你的需求,例如:请根据文章内容生成流程图
  3. AI 会生成 Mermaid 代码,点击 插入光标处插入文末 将图表插入文档。

图片与图床

  • 粘贴/拖拽图片自动处理:已配置 S3/R2 时优先上传并插入 URL;未配置或失败则回退本地保存。
  • 本地图片即时可见;可在设置中选择“总是保存到本地”。

同步与发布

  • WebDAV 同步(扩展):可视化进度与日志,支持冲突提示与 MOVE 优化。
  • 一键发布:Typecho / WordPress 扩展,登录后选择文档发布。

常用快捷键

Ctrl+N 新建   Ctrl+O 打开   Ctrl+S 保存
Ctrl+E 编辑/预览    Ctrl+R 阅读    Ctrl+W 所见模式
Ctrl+B 加粗   Ctrl+I 斜体   Ctrl+K 插入链接   Esc 关闭弹窗
Tab 列表缩进   选中多行后 Tab 批量缩进

Markdown 参考

以下为飞速MarkDown支持的常用语法速览。

Markdown 示例

标题

# 一级标题
## 二级标题
### 三级标题

段落与换行

段落之间留空行。
行尾加两个空格 + 回车可强制换行。

强调与行内代码

**加粗**  *斜体*  ~~删除线~~  `行内代码`

列表与任务列表

- 无序项 1
- 无序项 2
1. 有序项 1
2. 有序项 2
- [ ] 未完成
- [x] 已完成
提示:使用 Tab 进行缩进,可创建子列表。

链接与图片

[OpenAI](https://openai.com)
![示例图片](https://example.com/pic.png)

代码块

```js
console.log('Hello FlyMD')
```

引用

> 这是一段引用

表格

| 列1 | 列2 |
| --- | --- |
| A   | B   |

数学公式(KaTeX)

$c=\sqrt{a^2+b^2}$

Mermaid 图表

```mermaid
graph TD; A[开始]-->B[处理]; B-->C{分支}; C-->D[结束]
```

导出

  • 支持导出为 PDF / DOCX / WPS;PDF 阅读器内置大纲与书签。

Getting Started

  • Download and install from the Releases page.
  • Create/Open: Ctrl+N new, Ctrl+O open, Ctrl+S save, Ctrl+Shift+S save as.
  • Library: manage files/folders in the sidebar with rename/move/delete.

Modes

  • Editor (source): write standard Markdown with smart pairing and great IME support.
  • WYSIWYG: live rendering; double-click code blocks to edit.
  • Switch: Ctrl+E edit/preview, Ctrl+W WYSIWYG toggle, Ctrl+R quick reading.

Common Features

  • Outline TOC: auto extract H1–H6 with scroll sync.
  • Safe preview: markdown-it + highlight + HTML sanitization.
  • Extensions: WebDAV sync, AI assistant, publish to blogs.

Extensions & AI Assistant

Install AI Writing Assistant

  1. Open the Extensions panel → go to Available.
  2. Find AI Writing Assistant → Install.
  3. Complete initial setup (provider/model and API key). Most OpenAI-compatible services work.

Capabilities

  • Polish: improve wording while preserving meaning.
  • Correct: grammar/spell correction with suggestions.
  • Continue: continue writing from cursor with context.
  • Outline: generate a structured outline from the current content.
  • Mermaid Charts: generate Mermaid code from text (flowchart/sequence/gantt).

Interaction

  1. Click the AI button on the toolbar to open the chat dialog.
  2. Describe your intent, e.g. Please generate a flowchart based on the article.
  3. The AI returns Mermaid code; click Insert at cursor or Insert at end to add the chart.

Images & Upload

  • Paste/drag to insert. If S3/R2 is configured, upload and insert URL; otherwise fallback to local save.
  • Local images render in-place; optional "Always save locally".

Sync & Publish

  • WebDAV sync (extension): visual progress, logs and conflict hints; optimized MOVE for rename/move.
  • One-click publishing: Typecho / WordPress extensions.

Shortcuts

Ctrl+N New   Ctrl+O Open   Ctrl+S Save
Ctrl+E Edit/Preview   Ctrl+R Read   Ctrl+W WYSIWYG
Ctrl+B Bold   Ctrl+I Italic   Ctrl+K Link   Esc Close dialog
Tab Indent list   Tab indents code block

Markdown Reference

Headings

# H1
## H2
### H3

Paragraphs & Line Breaks

Blank line between paragraphs.
Two spaces + Enter makes a line break.

Emphasis & Inline Code

**bold**  *italic*  ~~strike~~  `inline code`

Lists & Tasks

- Bullet 1
- Bullet 2
1. Numbered 1
2. Numbered 2
- [ ] Todo
- [x] Done
Tip: use Tab to indent lists.

Links & Images

[OpenAI](https://openai.com)
![Image](https://example.com/pic.png)

Code Blocks

```js
console.log('Hello FlyMD')
```

Blockquote

> A quote here

Table

| Col1 | Col2 |
| ---- | ---- |
| A    | B    |

Math (KaTeX)

$c=\sqrt{a^2+b^2}$

Mermaid

```mermaid
graph TD; A[Start]-->B[Process]; B-->C{Branch}; C-->D[End]
```

Export

  • Export to PDF / DOCX / WPS. Built-in PDF reader provides outline/bookmarks.