954 B
954 B
markup, title, description, import
| markup | title | description | import | ||||
|---|---|---|---|---|---|---|---|
| occlusion | ext/web/dom | DOM Artifact — Markdown/body to structure; raw HTML is escape hatch only (ADR 0007). |
|
from_markdown
+ `text`
Turn Markdown text into a simple DOM map {kind:"markdown", text} for page.render / web.render.
cap.load
out= > table.put in=None at="kind" value="markdown" > table.put in=outat="text" value=text
raw
+ `html`
Escape hatch — wrap a raw HTML string. Prefer Markdown / View nodes.
cap.load
out= > table.put in=None at="kind" value="raw" > table.put in=outat="html" value=html
render
+ `dom`
Render a DOM Artifact (markdown or raw) to HTML via native plugin.
cap.load kind = kind)
kind== "raw" html = html) html-
text = text)
> web_dom_markdown text=text