Files
marqdo/public/stdlib/writeback.mq.md
T
cflmyandCursor ecc92f473a Unify frontmatter imports as import bind:target and drop > imports.
`import json:lib/json.mq.md` binds file libraries; `import fmt:time.format`
binds member short names (replaces `> use`). Legacy `> path.mq.md` / `> use`
now hard-error with a hint. Migrates repo docs, skills, ext, lib, public, examples,
man-test and tests; adds a negative gold and updates view/catalog rendering.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 10:03:21 +08:00

537 B


title: lib/writeback — Jupyter-style writeback description: Persist run output in the entry .mq.md file import writeback: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