Files
marqdo/public/stdlib/writeback.mq.md
T
cflmyandCursor 2e65c055b8 Release v0.1.2: embedded stdlib, docs, and extension branch policy.
Embed lib/*.mq.md in binary; marqdo version --check; public writeback/subtask pages; restore /vscode-extension/ ignore. VSIX built from branch vscode-extension only (see doc/design/vscode-extension-commit.md).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 09:41:53 +08:00

16 lines
539 B
Markdown

---
title: lib/writeback — Jupyter-style writeback
description: Persist run output in the entry .mq.md file
> lib/writeback.mq.md
---
# main
Writeback stores output in `<!-- marqdo-out … -->` blocks in the **entry** file (the one you run).
- `record value=` — default: insert or replace the block **below the call**; `at_end=true` → single block at EOF
- `get` / `clear` — read or remove the adjacent block (or EOF block when `at_end=true`)
- `list` — all output blocks in the entry file
> print text=writeback overview ok