Overview
Aa is a text editor for apps. People write formatted text; the app stores Markdown. Nothing is converted on the way and nothing is lost, so what is written in Aa reads the same anywhere Markdown is read.
A note, written in Aa
Write in it: select words for the toolbar, type / for the kinds of block, and watch the Markdown beside it.
What it stores
How it works
Section titled “How it works”- The document is Markdown. The editor’s
valueis a Markdown text, and every change is reported as one. A heading, a bold word or a ticked box is written into the text as Markdown writes it. - No syntax is shown. A heading is its size, never its
#. Typed shortcuts such as##or**turn into formatting, and the toolbar and the keys format without writing syntax at all. - One editable block at a time. Each paragraph, heading or bullet is its own editable element, as in Notion. The browser types, spells and composes; Aa decides what Enter, Backspace, paste and undo do.
- Drawn as Design system 1’s prose. A line a square, a square between blocks, two before a heading: writing in Aa and reading it on a page look the same. See Design system 1.
- A library, not a service. Uploads, people, permissions and AI calls stay with your app. Aa asks for them through its options.
What it does
Section titled “What it does”| Group | Pages |
|---|---|
| Writing | Formatting, Links, Headings and paragraphs, Lists and boxes, Quotes and code, Callouts and toggles, Tables, Columns, Tabs, Equations, Pictures and media |
| Editing | Toolbar, Slash and block menus, Selecting and moving, Undo, Find and replace, Keyboard, On a phone |
| AI | Asking AI, Correction while writing |
| Together | Comments, Shared editing |
| Diagrams | Diagrams, Drawing on the board, The language |
| Building | Options, Methods and events, Atoms, Commands, Decorations, Styling, Plain text |
The front page is the editor itself: a note, then a page as Notion’s are, with pictures, a table, columns and a diagram to carry about.
Entries
Section titled “Entries”The core imports neither React nor Yjs. Each optional part is its own entry, loaded only by the apps that use it.
| Entry | What it holds |
|---|---|
@0001-labs/aa | The editor, <aa-editor>, the Markdown model and comments |
@0001-labs/aa/aa.css | The editor’s stylesheet, which the editor already brings; import it only to have the rules before any script runs, or under a strict Content Security Policy |
@0001-labs/aa/react | AaEditor, for React |
@0001-labs/aa/collaboration | connectCollaboration, shared editing on Yjs |
@0001-labs/aa/convex and /convex.config | A Convex transport and component for shared editing |
@0001-labs/aa/diagram | Diagrams drawn in the editor, and <aa-diagram> |
@0001-labs/aa/diagram-language | The diagram language alone, for a page or a server that only reads diagrams |
@0001-labs/aa/marker | Charts in diagrams, loaded only when a diagram has one |