deploy: ffe06d7afab7acaed87be5ff16edddc37da536a2

This commit is contained in:
cflmy committed 2026-11-18 10:51:28 +00:00
commit a4c04666b4
217 files changed
+506293

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
---
markup: occlusion
title: Built-in input
description: Read one line from stdin; optional prompt. Demo via frontmatter stdin.
stdin: Ada
---
# main
| 返回 | 类型 | 说明 |
|---|---|---|
| result | any | None; execute this page's documented steps in order and observe their output or stated effects |
The input builtin reads one line. For demos and marqdo view / static export, put sample lines in frontmatter (stdin:). CLI can also use a pipe or --stdin-file. Live view can override with the Preset input box.
We first **name = [Compute name](input(prompt="Name: "))** for the next step.
We now **[Display this step's result](> print text="Hello `name`!")**.