Glossary

TermDefinitionAliases
pageA 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
siteA 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
templateThe 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
projectionRendering 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 fundamentalThe 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 patternMarkdown-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
admonitionA callout block — an icon, a coloured heading, and a body, used to set a passage apart (note, info, tip, warning, success, error).callout
template partA 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
foreignObjectThe 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 folderThe 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