Glossary
| Term | Definition | Aliases |
|---|---|---|
| page | A page block — one rendered output document (an HTML page, a Markdown file, or a slide). It joins one or more sites and holds the content blocks that make up its body. | page block |
| site | A site block — one output target configured by its template, title, theme, and navigation. A document can declare several sites, and each page joins one or more of them. | site block |
| template | The function that turns a page's content into a finished layout. Four built-ins ship (:webpage, :book, :presentation, :ai_skill); a custom template block is just a function from a TemplateCtx to a list of HTML fundamentals. | site template |
| projection | Rendering one source document into a particular output shape. The same pages project into a website, a PDF, Markdown, or a Claude skill folder depending on the render command and the site's template. | render target, target |
| HTML fundamental | The low-level building block a template emits — an element, raw HTML, or text. Stdlib template parts return lists of fundamentals, which custom templates compose. | HtmlFundamental |
| inline pattern | Markdown-style inline markup inside prose: bold, links, and inline code, written directly in a p or span string and lowered to styled spans. | inline markup |
| admonition | A callout block — an icon, a coloured heading, and a body, used to set a passage apart (note, info, tip, warning, success, error). | callout |
| template part | A stdlib function returning a list of HTML fundamentals for one region of a built-in layout (header, navbar, sidebar, content). Parts resolve by bare name once you import the wdoc library and let custom templates rebuild a layout region by region. | part, layout part |
| foreignObject | The SVG element wdoc uses to embed HTML content — wrapped text, labels, rich shape contents — inside a diagram's SVG so prose and shapes share one coordinate space. | foreign object |
| skill folder | The output of wcl wdoc skill: a SKILL.md plus the conventional references/, scripts/, and assets/ subfolders that a Claude / agent skill expects. | skill directory, Claude skill folder |