Add v0.2 surface syntax, writeback/subtask stdlib, and view input deferral.
Use + for parameters, ordered-list branches, backtick identifiers, and quoted strings with escapes. Add writeback and subtask host libs, optional parameter defaults, narrative-bold comment fix, and defer view execution until preset stdin is submitted. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
92d88fe761
commit
63e5be80ab
116 files changed
+2226
-559
No files matched your search
@@ -0,0 +1,32 @@
|
||||
---
|
||||
title: lib/writeback
|
||||
description: Persist run output in .mq.md (Jupyter-style writeback)
|
||||
---
|
||||
|
||||
## record
|
||||
+ `value`
|
||||
+ `at_end`=False
|
||||
|
||||
Write `value` to `<!-- marqdo-out … -->` in the entry file. Default: insert or replace the block immediately below the call; `at_end=true` appends a single block at EOF.
|
||||
|
||||
**> host_writeback_record value=`value` at_end=`at_end`**
|
||||
|
||||
## get
|
||||
+ `at_end`=False
|
||||
|
||||
Read persisted output for the current call site (adjacent block), or the EOF block when `at_end=true`.
|
||||
|
||||
**> host_writeback_get at_end=`at_end`**
|
||||
|
||||
## clear
|
||||
+ `at_end`=False
|
||||
|
||||
Remove the adjacent or EOF output block.
|
||||
|
||||
**> host_writeback_clear at_end=`at_end`**
|
||||
|
||||
## list
|
||||
|
||||
List all output blocks in the entry file.
|
||||
|
||||
**> host_writeback_list**
|
||||
Reference in new issue
Block a user