docs(view): show kernel state and Marqdo value passing
Rewrite the static foreign walkthrough without stdin-driven examples. It now demonstrates session_set from an ordinary Marqdo table, persistent kernel state across evaluations, and a foreign.session view plan sharing state across cells. Static export executes those cells and embeds the real outputs.
This commit is contained in:
1 parent
e4387259ba
commit
05d48f68a4
3 files changed
+148
-273
No files matched your search
+2
-1
@@ -94,6 +94,7 @@ fn static_cell_outputs(
|
||||
parts.push(error);
|
||||
}
|
||||
}
|
||||
let has_body = !parts.is_empty();
|
||||
let mut meta = Vec::new();
|
||||
if let Some(code) = record_field(&rec, "code").and_then(|v| match v {
|
||||
Value::Int(n) => Some(n),
|
||||
@@ -114,7 +115,7 @@ fn static_cell_outputs(
|
||||
if !meta.is_empty() {
|
||||
parts.push(format!("— {}", meta.join(" · ")));
|
||||
}
|
||||
let text = if parts.is_empty() {
|
||||
let text = if !has_body {
|
||||
"(no output)".to_string()
|
||||
} else {
|
||||
parts.join("\n\n")
|
||||
|
||||
Reference in new issue
Block a user