mr note-block
Note blocks are ordered, typed content units attached to a single Note
(similar to Notion's blocks). Each block has a type (text, heading,
todos, gallery, references, table, calendar, divider, plus
any plugin-registered types), a content JSON payload validated
against that type, a state JSON payload for runtime UI/view state,
and a fractional position string that defines its order within the
parent note. Validation is per type and some types accept anything:
divider places no requirements on content, a plugin type that
declares no schema places none either, and most types validate no
state at all.
Use the note-block subcommands to operate on a single block by ID:
fetch it, create a new one on a note, update its content or state,
delete it, or list the available block types. Use note-blocks (plural)
for per-note listing, reorder, and rebalance operations.
Usage
mr note-block
Flags
This command has no local flags.
Inherited global flags
| Flag | Type | Default | Description |
|---|---|---|---|
--json | bool | false | Output raw JSON |
--no-header | bool | false | Omit table headers |
--page | int | 1 | Page number for list commands (default page size: 50) |
--quiet | bool | false | Only output IDs |
--server | string | http://localhost:8181 | mahresources server URL (env: MAHRESOURCES_URL) |
Exit Codes
0 on success; 1 on any error