`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>
18 lines
537 B
Markdown
18 lines
537 B
Markdown
---
|
|
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
|