Frontmatter imports are now valid YAML (`import:` / `导入:` with bind→target entries), removing spaced keys. Add `marqdo migrate imports`, hard-error the old one-liner form, and migrate lib/ext/examples/tests/docs accordingly. Co-authored-by: Cursor <cursoragent@cursor.com>
489 B
489 B
title, import
| title | import | ||
|---|---|---|---|
| foreign call and call_many |
|
main
双倍 =
let s = "";
process.stdin.on("data", d => { s += d; });
process.stdin.on("end", () => {
console.log(JSON.stringify(JSON.parse(s) * 2));
});
单个 = > foreign.call code=双倍 input=1
print text=
单个
数值表 =
| 数值 |
|---|
| 1 |
| 2 |
| 3 |
| 4 |
多个 = > foreign.call_many code=双倍 inputs=数值表 concurrency=2
print text=
多个