# Block — Every Paragraph Is a Block, Fast as Nothing (Full English Reference for AI Agents)

> **Summary**: Block (`https://block.cooool.top/en/`) is a free, open-source (`Apache-2.0`), local-first Markdown block note-taking desktop application for macOS, Windows, and Linux. Zero account sign-up, 100% offline-capable, plain `.md` files stored directly on local disk, instant 100,000-character long-document performance, global Quick Note floating window (`Option+N` / `Alt+N`), local version history diff & restore, review-before-write AI integration with local AI CLIs (Claude Code, Codex, Antigravity, pi, dsh) and built-in APIs, 12 light/dark paper export styles (PNG/PDF/Word/HTML/Markdown), and on-demand sandboxed App Store extensions.

---

## 1. Machine-Readable Endpoints & Official Links

- English Homepage: `https://block.cooool.top/en/` (send `Accept: text/markdown` to receive this document directly)
- Chinese Homepage: `https://block.cooool.top/` (supports `Accept: text/markdown`)
- Agent Index: `https://block.cooool.top/llms.txt`
- Full Reference (EN): `https://block.cooool.top/en/llms-full.txt`
- Full Reference (ZH): `https://block.cooool.top/llms-full.txt`
- Latest Release & Downloads JSON API: `https://block.cooool.top/api/latest.json`
- Documentation Center (EN): `https://docs.block.cooool.top/` (Index: `https://docs.block.cooool.top/llms.txt`)
- Plugin Development Guide (EN): `https://docs.block.cooool.top/plugins/`
- AI-Ready Single-File Plugin Dev Spec (EN): `https://docs.block.cooool.top/plugin-dev-for-ai.md`
- App Store Extension Index (JSON): `https://raw.githubusercontent.com/blockmd-plugins/store-index/main/store-index.json`
- Privacy Policy (EN): `https://block.cooool.top/en/privacy/` (ZH: `https://block.cooool.top/privacy/`)
- GitHub Repository: `https://github.com/eachann1024/block`
- Latest Release Page: `https://github.com/eachann1024/block/releases/latest`
- License: Apache License 2.0 (free forever, no subscription wall)

---

## 2. Downloads & Platform Support

Free forever on all desktop platforms. Official download links resolve the latest packaged installer (direct 302 to GitHub Releases globally, automatic edge acceleration in mainland China):

| Platform & Architecture | Direct Download Route | Installer Filename |
| --- | --- | --- |
| macOS (Apple Silicon / M-series) | `https://block.cooool.top/download?k=mac-arm64` | `block-macos-arm64.dmg` |
| macOS (Intel x64) | `https://block.cooool.top/download?k=mac-x64` | `block-macos-x64.dmg` |
| Windows (x64) | `https://block.cooool.top/download?k=win-x64` | `block-windows-x64-setup.exe` |
| Linux (x64 AppImage) | `https://block.cooool.top/download?k=linux-appimage-x64` | `block-linux-x64.AppImage` |
| Linux (x64 Debian / Ubuntu) | `https://block.cooool.top/download?k=linux-deb-x64` | `block-linux-x64.deb` |

To inspect the live latest version, release date, changelog, and asset sizes, request `GET https://block.cooool.top/api/latest.json`.

---

## 3. Core Capabilities & 24 Built-In Features

### Instant Performance & Plain Local Markdown
- **100k-character long docs without lag**: Open, scroll, and paginate massive documents as smoothly as a blank note.
- **Plain local folders**: Open any local folder of `.md` files directly on disk—zero proprietary lock-in, seamlessly readable by Obsidian, Typora, VS Code, or Git.
- **Draft recovery & local version history**: Automatic local snapshots on edits (up to 100 versions per note) with a full-window diff preview, version timeline and one-click restore; external conflicts or deleted files never lose your draft.
- **View Source**: Switch seamlessly to a syntax-highlighted raw Markdown editor whenever you want direct plain-text control.

### Block Editing & Writing Experience
- **Block-level editing**: Every paragraph is an independent block—switch between headings, checklists, quotes, callouts, or code blocks effortlessly.
- **Drag to reorder**: Grab the 6-dot handle on the left gutter to drag any paragraph, list subtree, or folded heading section to a new position.
- **Collapsible sections**: Click a heading chevron to fold or expand its entire section, and drag collapsed sections as a single compact pill.
- **Slash menu**: Type `/` to insert or transform blocks rapidly without leaving the keyboard.
- **Cross-block selection**: Select seamlessly across multiple paragraphs at character granularity to format, copy, or delete together.
- **Interactive tables**: Drag to add rows/columns, resize column widths, set header columns, align cells, and apply cell tints.
- **Mind maps, Mermaid diagrams, and LaTeX math**: Live inline & full-screen mind-map/outline editing, Mermaid flowcharts/sequence diagrams, and inline/block LaTeX formulas.
- **Syntax-highlighted code blocks, document outline, multi-tab workspace, full-text search, custom shortcuts, and 70%–130% UI zoom**.

### Global Quick Note Window
- **Desktop Quick Note (`Option+N` on macOS / `Alt+N` on Windows & Linux)**: Summon up to 3 independent floating sticky notes from anywhere on your desktop and save them directly as formal Markdown notes with one click.

### Review-Before-Write AI Integration
- **Inline AI Assistant**: Select any passage to polish, condense, or translate with live red-delete / green-insert diff streaming—applied only when you click Confirm, always undoable.
- **AI Sidebar & Change Plans**: Reference the current note or selections and review structured change cards before touching disk.
- **Full-Screen AI Chat & Saved History**: Long conversations centered cleanly with automatic local persistence.
- **Annotations + AI**: Leave margin annotations alongside text and optionally delegate batch edits to AI with item-by-item approval.
- **Connect your own local AI tools without paying for another subscription**:
  - Built-in compatible APIs: OpenAI, Claude, DeepSeek, and OpenAI-compatible endpoints.
  - Direct local CLI integration: Claude Code, Codex, Antigravity, pi, and dsh.

### 12 Paper Export Styles & Multi-Format Output
- **Export formats**: Long PNG image, PDF, Word (`.docx`), HTML, and Markdown (full document or selected blocks only).
- **6 Light Paper Styles**: Plain Paper, Journal Note, Risograph Duo, Newsprint, Poster Type, Frosted Card.
- **6 Dark Paper Styles**: Ink Black, Dark Journal, Neon Night, Darkroom Film, Night Card, Terminal Green.

---

## 4. Comparison with Other Note-Taking Apps

| Dimension | Block | Notion | Obsidian | Typora | SiYuan | Yuque / Feishu |
| --- | --- | --- | --- | --- | --- | --- |
| Block drag reorder & section fold | Native, effortless | Supported | Needs plugins | Not supported | Supported | Supported |
| Plain local `.md` on disk | Standard `.md`, zero lock-in | Cloud-hosted | Shared local folder | Standard `.md` | Proprietary format | Cloud-hosted |
| No sign-up, 100% offline | Offline & account-free | Login required | Offline | Offline | Offline | Login required |
| 100k-char long-doc fluidity | Instant, smooth | Frequent loading | Slows with plugins | Lags on long docs | Higher memory | Lags on poor net |
| Quick Note + local history | Built-in | No floating note | Needs plugins | None | Limited | Paid tiers |
| Cross-platform pricing | Free forever (macOS/Win/Linux) | Paid plans | Free personal | Paid license | Paid sync | Paid tiers |
| AI pricing model | Bring local AI CLIs or own API | Paid add-on | Plugin + own key | None | Own API key | Paid quota |
| Open-source license | Apache 2.0 | Closed source | Closed source | Closed source | AGPL | Closed source |

---

## 5. App Store Extensions & Native Plugin Ecosystem

Core writing works out of the box. Optional extensions live in **Settings → App Store**, run inside Block's built-in sandbox (declarative language extensions run with zero runtime or permissions) only when manually enabled, and never linger in the background when disabled:

- **Sync (`block-sync`)**: Incrementally sync notebooks via local folder mirror, WebDAV, or Git while keeping files as standard plain `.md`.
- **Image Host (`block-image-host`)**: Automatically upload local images to Cloudflare R2, S3-compatible storage, or GitHub and rewrite Markdown links while preserving local originals.
- **Custom Icons (`block-file-icons`)**: Give notebooks, folders, and notes custom icons and colors so you spot them fast in the sidebar.
- **Build custom native plugins with AI**: Pass `https://docs.block.cooool.top/plugin-dev-for-ai.md` to your AI assistant to generate JSON-RPC 2.0 extensions with native settings pages or zero-permission declarative language extensions. Publish to the Store via `block-plugin-check`, adding the `blockmd-plugin` GitHub repository topic, and cutting a GitHub Release (see [Check & Publish Guide](https://docs.block.cooool.top/plugins/check-and-store)).

---

## 6. Frequently Asked Questions (FAQ)

### Q: How does Block differ from Notion, Obsidian, Typora, SiYuan, or Yuque/Feishu?
Block combines Notion-style block drag-and-drop and section folding with 100% local plain `.md` file storage: zero account required, full offline support, lag-free 100k-character long documents, built-in desktop Quick Note, local diff version history, review-before-write AI integration, and 12 light/dark paper export styles—free forever across macOS, Windows, and Linux under Apache 2.0.

### Q: Can I bring existing Obsidian, Typora, or Notion notes into Block?
Yes. Open any existing Obsidian or Typora Markdown folder directly in Block and keep writing. Standard Markdown folders exported from tools like Notion can also be opened directly once extracted.

### Q: Does Block support multi-device sync?
Yes. Install and enable the officially verified **Sync (`block-sync`)** extension in **Settings → App Store** for incremental sync across local folder mirrors, WebDAV, or Git repositories—keeping every note as a standard plain `.md` file.
