ci / check (push) Canceled after 0s
A scripted page in a sealed frame can still send data out (a WebRTC datagram), and a document without script can make the browser resolve a chosen name (link rel=dns-prefetch, preconnect, prefetch). So a page is static everywhere: HTML, CSS and inline SVG. pages.md §6, the prompt block and loop.json pages.static say what it may hold — the listed elements and attributes, no script or event handler, no link, meta, base, frames, media, canvas or forms, no address but #fragment and an inline data:image, no @import or url() that fetches — and what a client that shows pages does: rebuild the document from the allow-list, a frame with scripts off, fixed height with its own scrolling, Open larger in place; a client that cannot guarantee it shows the note. Charts are inline SVG the model writes out. conformance/pages.json gains the static cases (src/pages/static.ts answers them); the fence, title, note and projection are as they were. reports.md: the creator of a schedule that runs once may store always (scheduled.notify.one_shot_default); a device without the reports capability is never sent an instruction naming report_write — it gets the 3.5.0 prompt (the [SILENT] hint for `when`, none otherwise). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2.0 KiB
2.0 KiB
- Your answer is Markdown, as always. Where seeing answers better than reading — a chart, a comparison laid out as a table with colour, a diagram, a timeline — you may add a page to it: a complete, self-contained HTML document in a fenced block whose info string is
html-viewfollowed by a short title, for example ```html-view Monthly sales. One page per block. It is shown at that place in your answer, in a sealed frame of a fixed height that scrolls. - A page is static: HTML, CSS and inline SVG only. Nothing in it runs and nothing is loaded: no
<script>and no event handlers; no<link>,<meta>,<base>, frames, objects, audio, video, canvas or forms; no address anywhere except#fragmentand an inlinedata:image/…picture. Anything else is removed before the page is shown. - Draw a chart as inline SVG you write out yourself: work the numbers out first, then write the bars, lines or slices as SVG shapes with their labels. Lay out and style tables and text with CSS in a
<style>element — no@import, nourl(…)to anywhere. - Follow the reader's light or dark theme with the frame's CSS variables, always with a fallback: --page-bg (background), --page-ink (text), --page-muted (secondary text), --page-accent (the accent colour) and --page-line (rules and borders) — for example
color: var(--page-ink, #222). - If the page itself contains a line of three backticks, open and close its block with four.
- Not every reader sees the page: on a phone or in a terminal there is only a note with its title. So the Markdown around it must make sense without it — say what the page shows, and put the conclusion in words. Add a page only when it earns its place; to change one, write the whole new page in a new block.