Blocks in, JSON out
Brickee edits a document as blocks: each line is one, dragged by its handle and turned into another type from its menu. Type / on an empty line to add one.
- Text, headings, lists, to-dos, quotes, code and dividers are markdown.
- Everything else is a plugin — like the table below.
- Plugins are plain objects; pass the ones you want.
- Try the slash menu
- Write your own block
| Block | Stored as | Markdown |
|---|---|---|
| Paragraph | md:p | text |
| Table | table | GFM table |
| Video | youtube | link |
A document is just JSON: store it as it is, render it with the same plugins.
<Editor bind:value plugins={PLUGINS} />
<Preview blocks={value} plugins={PLUGINS} />