Add foreign stdlib with code values and ship v0.0.4.
Bind `lang fences like formulas, run them via local interpreters, polish live-view code cards, and refresh bilingual welcome docs. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
dcd0cdb8f7
commit
b5e9d15391
33 files changed
+1044
-199
No files matched your search
@@ -0,0 +1,25 @@
|
||||
---
|
||||
title: lib/foreign
|
||||
description: Run bound code fences and inline sources via local interpreters
|
||||
---
|
||||
|
||||
# set_cmd
|
||||
- lang
|
||||
- cmd
|
||||
|
||||
**> host_foreign_set_cmd lang=`lang` cmd=`cmd`**
|
||||
|
||||
# run
|
||||
- code
|
||||
|
||||
**> host_foreign_run code=`code`**
|
||||
|
||||
# run_lang
|
||||
- lang
|
||||
- source
|
||||
|
||||
**> host_foreign_run_lang lang=`lang` source=`source`**
|
||||
|
||||
# langs
|
||||
|
||||
**> host_foreign_langs**
|
||||
@@ -0,0 +1,25 @@
|
||||
---
|
||||
title: lib/外联
|
||||
description: 通过本机解释器运行绑定的代码围栏与内联源码
|
||||
---
|
||||
|
||||
# 设置命令
|
||||
- 语言
|
||||
- 命令
|
||||
|
||||
**> host_foreign_set_cmd lang=`语言` cmd=`命令`**
|
||||
|
||||
# 运行
|
||||
- 代码
|
||||
|
||||
**> host_foreign_run code=`代码`**
|
||||
|
||||
# 按语言运行
|
||||
- 语言
|
||||
- 源码
|
||||
|
||||
**> host_foreign_run_lang lang=`语言` source=`源码`**
|
||||
|
||||
# 语言表
|
||||
|
||||
**> host_foreign_langs**
|
||||
Reference in new issue
Block a user