text [TEXT]
Creates escaped Markdown text.
Block type: REPORTER. Opcode: text. Permanent link
| Argument | Type | Default value | Menu choices |
|---|---|---|---|
TEXT | STRING | Hello *world* |
Complete block reference (19 blocks)
TurboWarp Markdown builds Markdown as immutable structured fragments. Blocks create escaped inline fragments, block fragments, lists, and sequences; final Markdown text is produced only by an explicit render block.
heading [1] [Sensor]
paragraph [temperature]
[heading result] followed by [paragraph result]
render Markdown [combined result]
javascript:.| Category | Blocks |
|---|---|
| Inline | text, bold, italic, link, code |
| Blocks | heading, paragraph, quote, codeBlock |
| Lists | listItem, unorderedList, orderedList |
| Composition | concat, render |
For turbowarp-http-server, pass the rendered string as the response body and set Content-Type: text/markdown; charset=utf-8. The HTTP server does not need to depend on this package.
The package also exports block-free builder functions from @kubohiroya/turbowarp-markdown, including text, bold, italic, link, heading, paragraph, quote, codeBlock, listItem, unorderedList, orderedList, concat, and render.
All 19 blocks are documented below, including compatibility blocks and blocks available through optional features. Select a block to read its behavior, arguments, default values, and menu choices. Each block has a permanent link.
text [TEXT]Creates escaped Markdown text.
Block type: REPORTER. Opcode: text. Permanent link
| Argument | Type | Default value | Menu choices |
|---|---|---|---|
TEXT | STRING | Hello *world* |
bold [CONTENT]Creates bold inline Markdown content.
Block type: REPORTER. Opcode: bold. Permanent link
| Argument | Type | Default value | Menu choices |
|---|---|---|---|
CONTENT | STRING | important |
italic [CONTENT]Creates italic inline Markdown content.
Block type: REPORTER. Opcode: italic. Permanent link
| Argument | Type | Default value | Menu choices |
|---|---|---|---|
CONTENT | STRING | note |
link [CONTENT] URL [URL]Creates a Markdown link with a conservatively validated destination.
Block type: REPORTER. Opcode: link. Permanent link
| Argument | Type | Default value | Menu choices |
|---|---|---|---|
CONTENT | STRING | TurboWarp | |
URL | STRING | https://turbowarp.org/ |
code [TEXT]Creates inline code content.
Block type: REPORTER. Opcode: code. Permanent link
| Argument | Type | Default value | Menu choices |
|---|---|---|---|
TEXT | STRING | status |
heading [LEVEL] [CONTENT]Creates a heading with the level clamped to 1 through 6.
Block type: REPORTER. Opcode: heading. Permanent link
| Argument | Type | Default value | Menu choices |
|---|---|---|---|
LEVEL | NUMBER | 1 | |
CONTENT | STRING | Sensor |
paragraph [CONTENT]Creates a paragraph block.
Block type: REPORTER. Opcode: paragraph. Permanent link
| Argument | Type | Default value | Menu choices |
|---|---|---|---|
CONTENT | STRING | ready |
quote [CONTENT]Creates a block quote.
Block type: REPORTER. Opcode: quote. Permanent link
| Argument | Type | Default value | Menu choices |
|---|---|---|---|
CONTENT | STRING | quoted |
code block [TEXT] language [LANGUAGE]Creates a fenced code block.
Block type: REPORTER. Opcode: codeBlock. Permanent link
| Argument | Type | Default value | Menu choices |
|---|---|---|---|
TEXT | STRING | console.log('ok') | |
LANGUAGE | STRING | js |
list item [CONTENT]Creates a list item fragment.
Block type: REPORTER. Opcode: listItem. Permanent link
| Argument | Type | Default value | Menu choices |
|---|---|---|---|
CONTENT | STRING | item |
unordered list [ITEMS]Creates an unordered list from item fragments.
Block type: REPORTER. Opcode: unorderedList. Permanent link
| Argument | Type | Default value | Menu choices |
|---|---|---|---|
ITEMS | STRING | |
ordered list [ITEMS]Creates an ordered list from item fragments.
Block type: REPORTER. Opcode: orderedList. Permanent link
| Argument | Type | Default value | Menu choices |
|---|---|---|---|
ITEMS | STRING | |
[LEFT] followed by [RIGHT]Creates a new Markdown fragment sequence without mutating either input.
Block type: REPORTER. Opcode: concat. Permanent link
| Argument | Type | Default value | Menu choices |
|---|---|---|---|
LEFT | STRING | | |
RIGHT | STRING | |
render Markdown [FRAGMENT]Renders a Markdown fragment to final Markdown text without updating stored validation errors.
Block type: REPORTER. Opcode: render. Permanent link
| Argument | Type | Default value | Menu choices |
|---|---|---|---|
FRAGMENT | STRING | |
render Markdown with validation [FRAGMENT]Validates a Markdown fragment, stores any validation errors, and renders final Markdown text.
Block type: REPORTER. Opcode: renderWithValidation. Permanent link
| Argument | Type | Default value | Menu choices |
|---|---|---|---|
FRAGMENT | STRING | |
last Markdown validation errorsReturns validation errors stored by the most recent render Markdown with validation block.
Block type: REPORTER. Opcode: lastValidationErrors. Permanent link
This block has no arguments.
last rendered Markdown has validation errors?Reports whether the most recent validated Markdown render stored validation errors.
Block type: BOOLEAN. Opcode: lastRenderHasValidationErrors. Permanent link
This block has no arguments.
validate Markdown [FRAGMENT]Returns simple validation diagnostics for a Markdown fragment.
Block type: REPORTER. Opcode: validateMarkdown. Permanent link
| Argument | Type | Default value | Menu choices |
|---|---|---|---|
FRAGMENT | STRING | |
Markdown [FRAGMENT] is valid?Reports whether simple validation found no Markdown errors.
Block type: BOOLEAN. Opcode: isValidMarkdown. Permanent link
| Argument | Type | Default value | Menu choices |
|---|---|---|---|
FRAGMENT | STRING | |
対応GUIの固定入力機能は既定OFFです。既存値は開いただけでは変更せず、reporter接続は評価・置換しません。新しい選択と有限JSON数値入力のみを検証して保存し、既存の補正・丸め処理を維持します。機能OFFで従来の編集へ戻せます。