Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

Add block feature list reference documentation (#3856)

Jacob Beckerman2bf67dcdf021
diff --git a/docs/concepts/blocks.mdx b/docs/concepts/blocks.mdx
new file mode 100644
index 0000000000..d0cc7c5825
--- /dev/null
+++ b/docs/concepts/blocks.mdx
@@ -0,0 +1,14 @@
+---
+title: "Blocks"
+description: "Blocks are the core building block of Macro. They work together like Lego."
+---
+
+Everything in Macro is a **block**. The current first-party block types are `md` (documents), `email`, `channel`, `chat` (agents), `automation`, `project` (tasks), `contact` (crm), `company` (crm), `call`, `canvas`, `code`, `image`, `video`, `pdf`, and `unknown` (fallback). Two aliases route to existing blocks: `task` → `project`, and `csv` → a document/text block. Each section below covers what a block does, the specifics worth knowing, and how it interlinks with other blocks. Where a feature is behind a flag or mid-migration, it's called out so you don't promise something that isn't live yet. Where a block has a full guide, a **Full docs** link points to it.
+
+A handful of capabilities aren't features of any one block — they're properties of the platform that show up almost everywhere. Two of them are big enough to have their own pages: [Mentions](/concepts/mentions) are how blocks reference each other, and [Properties](/concepts/properties) are how structured fields attach to them. The rest:
+
+- **Splits** — Any two blocks can sit side-by-side (a doc next to a chat, an email next to a task). A few combinations are restricted: no doc-with-doc of the same kind, no code-with-code, and no pdf-with-pdf unless multisplit is enabled. Create a split with <kbd>cmd</kbd>+<kbd>\</kbd>, focus left/right with <kbd>shift</kbd>+<kbd>h</kbd> / <kbd>shift</kbd>+<kbd>l</kbd>, maximize with <kbd>shift</kbd>+<kbd>escape</kbd>, close with <kbd>cmd</kbd>+<kbd>escape</kbd>.
+- **Nesting** — `canvas`, `pdf`, and `code` blocks can embed read-only inside a markdown doc, with their editing and markup tools disabled.
+- **References, sharing & permissions** — Every block has a References panel (backlinks to everywhere it's mentioned or embedded) and the same share dialog, with owner / editor / commenter / viewer access levels plus public links for documents.
+- **Real-time collaboration** — Collaborative blocks (docs, canvas, pdf markup) sync through **Loro CRDTs** over a **Cloudflare Durable Objects** backend: the Rust `sync-service` spins up one Durable Object "room" per document, and clients connect over WebSocket to `/document/:id`. This is what gives you multiplayer editing, presence cursors, and full offline support — edits reconcile when you reconnect. A separate `lexical-service` Cloudflare Worker handles server-side conversions (plaintext, search/cognition preprocessing, markdown→Loro snapshots).
+- **Search & Inbox** — One unified [Search](/product/search) index covers every block type, filterable by type and by mentioned person. The unified [Inbox](/product/inbox) pulls open notifications from across blocks into a single recency-sorted list.
diff --git a/docs/concepts/mentions.mdx b/docs/concepts/mentions.mdx
new file mode 100644
index 0000000000..b4845fdcd2
--- /dev/null
+++ b/docs/concepts/mentions.mdx
@@ -0,0 +1,21 @@
+---
+title: "Mentions"
+description: "How blocks reference each other — the @mention primitive that works across every surface in Macro."
+---
+
+Mentions are the connective tissue of the workspace. Typing `@` in any rich-text surface — a [document](/product/docs), an email body, a channel message, a chat or [automation](/product/agents#automations) prompt, or a task description — opens an autocomplete that lets you reference something else in Macro. Whatever you pick renders as a live inline pill that carries its target's current metadata (a task mention, for instance, shows the task's status and priority), and the reference is recorded as a backlink in the target's [References panel](/concepts/blocks).
+
+## What you can mention
+
+- **People** — by name or email.
+- **Documents and blocks** — any doc, task, canvas, code file, pdf, etc.
+- **Contacts and companies** — CRM records, rendered differently for people vs. organizations.
+- **Channels** — a deep link to the channel, or to a specific message or thread.
+- **Dates** — date pills.
+- **Groups** — by group alias.
+
+## What a mention does depends on where you make it
+
+In a document or chat, a mention is a navigable link and a source of context. In an **email body** it has side effects: mentioning a person adds them to CC, and mentioning a document inserts a link *and* updates that document's permissions so recipients can open it. In a **channel** there are two special mentions layered on top of the normal ones — `@here` pings every participant, and `@Macro` invokes the agent inline.
+
+The agent leans on mentions heavily: anything you @mention into a chat is pulled in as context, and autocomplete there surfaces your currently open tabs first.
diff --git a/docs/concepts/properties.mdx b/docs/concepts/properties.mdx
new file mode 100644
index 0000000000..c8fc899f35
--- /dev/null
+++ b/docs/concepts/properties.mdx
@@ -0,0 +1,38 @@
+---
+title: "Properties"
+description: "The unified property system that attaches structured fields to documents, tasks, emails, and CRM records."
+---
+
+Properties are Macro's unified system for attaching structured fields to entities. The same machinery powers a document's metadata, a [task's](/product/tasks) status and assignee, an email thread's custom fields, and a CRM contact's phone number — so the type system, editors, and behaviors below apply everywhere properties appear.
+
+## Supported types
+
+Every entity that supports properties supports the same data types:
+
+- **STRING** (text) — e.g. phone, job title, department, notes.
+- **NUMBER** — e.g. revenue, employee count, ARR.
+- **BOOLEAN** — toggles.
+- **DATE** — e.g. last contacted, contract/renewal date.
+- **SELECT_STRING** — single/multi-select with string options (custom option colors/icons).
+- **SELECT_NUMBER** — single/multi-select with numeric options.
+- **ENTITY** — a reference to another entity (User, Company, Contact, Document, Project, Channel, Chat, Task, Thread).
+- **LINK** — URLs (website, LinkedIn, etc.).
+
+## System vs. custom
+
+A property is either **system** (built-in and non-removable — like a task's Status) or **custom** (something you add). Properties can also be flagged as **metadata**, which keeps them out of the main views. Editors come in three forms: inline (click-to-edit in a list or pill), popover (a focused dialog), and modal (batch editing across several fields).
+
+## Pinned properties
+
+Pinning a property promotes it so its value renders as a pill — under a document or task title, for example — for quick scanning and editing. Defaults are per block type: tasks pin **Status**, **Priority**, and **Assignees** out of the box.
+
+## Built-in fields by block
+
+Some blocks ship with their own system properties:
+
+- **Tasks** — Status, Priority, Assignees, Due Date, Parent Task / Subtasks, Depends On, Effort, Story Points, and Relevant Documents. See [Tasks](/product/tasks).
+- **CRM contacts & companies** — Email, Name, Company, interaction timestamps, Domains, Email Sync, and more.
+
+## Agent access
+
+Agents read and write properties through the MCP entity tools — `GetEntityProperties` to read, `SetEntityProperty` to update (status, assignee, dates, custom fields), and `ListEntities` to browse. See the [tool reference](/AI/mcp/tools/index).
diff --git a/docs/docs.json b/docs/docs.json
index bbeb9403a2..1c3768085d 100644
--- a/docs/docs.json
+++ b/docs/docs.json
@@ -61,6 +61,14 @@
}
]
},
+ {
+ "group": "Key Concepts",
+ "pages": [
+ "concepts/blocks",
+ "concepts/mentions",
+ "concepts/properties"
+ ]
+ },
{
"group": "Sidebar",
"pages": [
diff --git a/docs/product/docs.mdx b/docs/product/docs.mdx
index 068cf06af8..4300c6a9cf 100644
--- a/docs/product/docs.mdx
+++ b/docs/product/docs.mdx
@@ -15,6 +15,16 @@ Macro auto-extracts email attachments and adds them to documents module. Canvas
You can @mention documents in your channels, link to them in your tasks, ask an agent questions about a contract someone emailed you. Documents are always fully searchable inside of Macro.
+### Editing & formatting
+
+The editor supports the full set of block nodes — paragraphs, Heading 1/2/3, bullet/numbered/checklist lists (with interactive checkboxes), blockquotes, code blocks (Prism syntax highlighting across 15+ languages), tables, dividers, images, videos, and links — plus inline and block math rendered with KaTeX. Inline formatting follows the usual shortcuts: bold (<kbd>cmd</kbd>+<kbd>b</kbd>), italic (<kbd>cmd</kbd>+<kbd>i</kbd>), underline (<kbd>cmd</kbd>+<kbd>u</kbd>), strikethrough (<kbd>shift</kbd>+<kbd>cmd</kbd>+<kbd>x</kbd>), highlight (<kbd>shift</kbd>+<kbd>cmd</kbd>+<kbd>h</kbd>), inline code (<kbd>cmd</kbd>+<kbd>e</kbd>), plus superscript and subscript.
+
+Markdown autoformatting works as you type (`#`/`##`/`###`, `-`, `1.`, `[]`, `>`, `---`, and backticks), `:shortcode:` emoji are supported, blocks can be dragged to reorder, <kbd>tab</kbd>/<kbd>shift</kbd>+<kbd>tab</kbd> indent and outdent, and find & replace (<kbd>cmd</kbd>+<kbd>f</kbd>) supports regex and replace-one/replace-all. The slash menu (`/`, or the command menu) inserts any of these: Normal text, Heading 1/2/3, Blockquote, Code block, Bullet/Numbered/Checklist, **Task** (an inline task with mentions), Image, Video, Link, Equation (`/latex` or `/math`), Table (5×3), and Divider. @mentions render in the body as collapsible inline pills.
+
+### Comments & history
+
+Comments are inline and thread-based, anchored to a text selection — you can reply, resolve and unresolve, draft, and edit or delete your own. Full version history is available via time-travel: browse historical states grouped by user and time, and **fork** a document at any past version into a new doc.
+
### Notifications
For a person to receive notifications from a document it must first be shared with them after which they will receive a channel notification. When @mentioning a person inside of a document's body, they will not get a notification in their inbox. However, when @mentioning someone inside of a comment of a document it will be added to their inbox notifications.
@@ -29,7 +39,9 @@ For a person to receive notifications from a document it must first be shared wi
/>
</Frame>
-On the right hand side of your document or inside the Info panel depending on your split size, you are able to see document details as well as properties. Inside properties you can assign, add to a task, add urgency, etc to your document.
+### Properties
+
+On the right hand side of your document or inside the Info panel depending on your split size, you are able to see document details (owner, folder, created and updated) as well as properties. Inside properties you can assign, add to a task, add urgency, etc to your document. You can pin properties so their values render as pills under the title, toggle an optional YAML front-matter display, and see a live word and character count.
<Frame>
<img
@@ -41,6 +53,8 @@ On the right hand side of your document or inside the Info panel depending on yo
/>
</Frame>
-### Public Sharing
+### Sharing & export
+
+Documents use the standard access levels: owner, editor, commenter, and viewer. Document viewing is not limited exclusively to Macro users — you can share documents to people outside the app by using their email address or by giving them a url link, if the Public Link has been enabled in the Share menu. Users not signed in will see the document preview without having to log on or create an account. Sharing a doc through a Macro message auto-updates its permissions so recipients can open it.
-Document viewing is not limited exclusively to Macro users. You can share documents to people outside the app by using their email address or by giving them a url link, if the Public Link has been enabled in the Share menu. Users not signed in will see the document preview without having to log on or create an account.
\ No newline at end of file
+Copy a link with <kbd>shift</kbd>+<kbd>cmd</kbd>+<kbd>c</kbd>, export to markdown text, and upload images or video by paste, drag, or the media picker.