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>
26 lines
368 B
Markdown
26 lines
368 B
Markdown
---
|
|
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**
|