Components
29 pages-
Component presentation
This page shows the everyday components side by side with their compact variants, so you can judge how each looks before choosing it: switch between Paper, Slate, GitHub, Ink, News and Terminal, light or dark, from the Appearance menu and compare. …
This page shows the everyday components side by side with their compact variants, so you can judge how each looks before choosing it: switch between Paper, Slate, GitHub, Ink, News and Terminal, light or dark, from the Appearance menu and compare. …
-
Update
An update is a changelog entry written as an ordinary Markdown heading with {.update} at the end. Each entry gets extra space and a separator rule above it, which gives a long stream of entries its rhythm, and optional date and tags attributes add a …
An update is a changelog entry written as an ordinary Markdown heading with {.update} at the end. Each entry gets extra space and a separator rule above it, which gives a long stream of entries its rhythm, and optional date and tags attributes add a …
-
Timeline
A timeline lays events along a vertical axis, each beside its marker: a date, a time, a version, “Day 2”, whatever puts the events in order. Use it for project milestones, the sequence of an incident, a product’s history or an agenda; Where a …
A timeline lays events along a vertical axis, each beside its marker: a date, a time, a version, “Day 2”, whatever puts the events in order. Use it for project milestones, the sequence of an incident, a product’s history or an agenda; Where a …
-
Cards
Cards lay out a few parallel destinations so the reader can pick one at a glance: where to start, what to read next, which of three paths fits. Each card is a linked title with a sentence under it, and the grid adapts to the width of the page. A …
Cards lay out a few parallel destinations so the reader can pick one at a glance: where to start, what to read next, which of three paths fits. Each card is a linked title with a sentence under it, and the grid adapts to the width of the page. A …
-
Social
When an article cites something posted on X, Mastodon or another network, a > [!SOCIAL] callout quotes it as a card: avatar, name, handle, platform icon, the post text and a dated link to the original. You write all of it into the page, so the quoted …
When an article cites something posted on X, Mastodon or another network, a > [!SOCIAL] callout quotes it as a card: avatar, name, handle, platform icon, the post text and a dated link to the original. You write all of it into the page, so the quoted …
-
Asciinema
asciinema plays a .cast terminal recording in the page. Use it when a command-line procedure is easier to follow when watched: an installation, a migration, a long-running build. Unlike a video, the terminal output stays text, so readers can pause …
asciinema plays a .cast terminal recording in the page. Use it when a command-line procedure is easier to follow when watched: an installation, a migration, a long-running build. Unlike a video, the terminal output stays text, so readers can pause …
-
Audio
Write an audio file the way you write an image, , and it becomes a titled player. Use it for podcast episodes, voice samples, pronunciation guides and recorded talks. There is no shortcode to learn and nothing to configure. A …
Write an audio file the way you write an image, , and it becomes a titled player. Use it for podcast episodes, voice samples, pronunciation guides and recorded talks. There is no shortcode to learn and nothing to configure. A …
-
Video
A video is written like an image, , with an optional attribute line below it. A video file plays in the page’s own <video> element, so it needs no configuration and no third-party service. A YouTube, Bilibili or Vimeo URL in the same …
A video is written like an image, , with an optional attribute line below it. A video file plays in the page’s own <video> element, so it needs no configuration and no third-party service. A YouTube, Bilibili or Vimeo URL in the same …
-
Gallery
A gallery puts related images side by side so readers can compare them: the screens of a setup wizard, the light and dark versions of a dashboard, the same chart before and after a fix. You write one image per line inside a gallery fence, and the …
A gallery puts related images side by side so readers can compare them: the screens of a setup wizard, the light and dark versions of a dashboard, the same chart before and after a fix. You write one image per line inside a gallery fence, and the …
-
Images
Screenshots and diagrams go in with ordinary Markdown, , so the same source still shows the image on GitHub or in any editor. When an image needs more, such as a caption, a display size, a figure number for a book or a …
Screenshots and diagrams go in with ordinary Markdown, , so the same source still shows the image on GitHub or in any editor. When an image needs more, such as a caption, a display size, a figure number for a book or a …
-
Maps
A map fence suits places that belong together in an order: the stops of a trip, a company’s offices, the venues of a conference, the sites of a field survey. HTML, Print and RSS show a numbered list with names, notes, thumbnails and OpenStreetMap …
A map fence suits places that belong together in an order: the stops of a trip, a company’s offices, the venues of a conference, the sites of a field survey. HTML, Print and RSS show a numbered list with names, notes, thumbnails and OpenStreetMap …
-
Math
Write formulas in TeX and Hugo turns them into HTML and MathML with KaTeX while it builds the site, so readers download one local stylesheet and no script, and nothing is sent to a remote math service. Use \(…\) inside a sentence, $$…$$ or \[…\] for …
Write formulas in TeX and Hugo turns them into HTML and MathML with KaTeX while it builds the site, so readers download one local stylesheet and no script, and nothing is sent to a remote math service. Use \(…\) inside a sentence, $$…$$ or \[…\] for …
-
FileTree
A file tree explains a directory layout one entry at a time: where the configuration lives, which directory holds data, what a reader may delete. You write it in a filetree fence, where indentation sets the depth, a trailing / marks a directory and …
A file tree explains a directory layout one entry at a time: where the configuration lives, which directory holds data, what a reader may delete. You write it in a filetree fence, where indentation sets the depth, a trailing / marks a directory and …
-
Markmap
A mind map shows the shape of a topic at a glance: what a guide covers, how a system breaks down, which checks belong together. A markmap fence draws one from an ordinary Markdown outline, so the source stays a readable list on GitHub, in print and …
A mind map shows the shape of a topic at a glance: what a guide covers, how a system breaks down, which checks belong together. A markmap fence draws one from an ordinary Markdown outline, so the source stays a readable list on GitHub, in print and …
-
Infographic
An infographic turns a short list into a picture of its structure: three steps in a row, five years on a timeline, stages that narrow like a funnel, a two-level hierarchy. You write the title and the items as plain data in an infographic fence, name …
An infographic turns a short list into a picture of its structure: three steps in a row, five years on a timeline, stages that narrow like a funnel, a two-level hierarchy. You write the title and the items as plain data in an infographic fence, name …
-
ECharts
An echarts fence draws a chart with axes, series and a legend: table sizes, release timelines, the share of each category in a total. You describe the chart as an ECharts option object in YAML or JSON, so the fence holds data, not code, and the …
An echarts fence draws a chart with axes, series and a legend: table sizes, release timelines, the share of each category in a total. You describe the chart as an ECharts option object in YAML or JSON, so the fence holds data, not code, and the …
-
Draw.io
A diagram exported from Draw.io can carry its own source. Put such an export in a page as an ordinary Markdown image and the theme adds an edit button that opens it in the Draw.io editor, so a reader or a teammate can change the diagram and download …
A diagram exported from Draw.io can carry its own source. Put such an export in a page as an ordinary Markdown image and the theme adds an edit button that opens it in the Draw.io editor, so a reader or a teammate can change the diagram and download …
-
PlantUML
PlantUML is the text format many teams already use for UML: sequence, class, component, activity and use-case diagrams. A plantuml fence renders it in one of two ways, and you choose by what the diagrams need: Local mode, the default, renders in the …
PlantUML is the text format many teams already use for UML: sequence, class, component, activity and use-case diagrams. A plantuml fence renders it in one of two ways, and you choose by what the diagrams need: Local mode, the default, renders in the …
-
Mermaid
A mermaid fence turns a few lines of text into a flowchart, sequence diagram, Gantt chart, class or ER diagram, or state diagram. Because the diagram lives in the page as text, a change to it shows up in review as a readable diff and site search …
A mermaid fence turns a few lines of text into a flowchart, sequence diagram, Gantt chart, class or ER diagram, or state diagram. Because the diagram lives in the page as text, a change to it shows up in review as a readable diff and site search …
-
Includes
When the same installation steps appear on three pages, or the current version number on thirty, every copy is a chance for the pages to drift apart. These three shortcodes keep one source instead: include inserts the content of another file, param …
When the same installation steps appear on three pages, or the current version number on thirty, every copy is a chance for the pages to drift apart. These three shortcodes keep one source instead: include inserts the content of another file, param …
-
Kbd
Use keys to show shortcuts and chords separately from prose. Supply one positional parameter per key. The theme draws keycaps, adds separators, and gives screen readers a readable sequence. Use inline code for command names, flags, and text to type. …
Use keys to show shortcuts and chords separately from prose. Supply one positional parameter per key. The theme draws keycaps, adds separators, and gives screen readers a readable sequence. Use inline code for command names, flags, and text to type. …
-
Badge
A badge is a small inline label that sits after a name and states its status in a word or two: Beta, deprecated, v0.5, needs a server. You choose what the status means, one of five tones, and the theme picks colors that keep their contrast in light …
A badge is a small inline label that sits after a name and states its status in a word or two: Beta, deprecated, v0.5, needs a server. You choose what the status means, one of five tones, and the theme picks colors that keep their contrast in light …
-
Steps
Steps present a procedure as a numbered column of dots joined by a line, so a reader following an installation or an upgrade can see at a glance which step they are on and how many remain. Add a {.steps} line under an ordinary ordered list; CSS draws …
Steps present a procedure as a numbered column of dots joined by a line, so a reader following an installation or an upgrade can see at a glance which step they are on and how many remain. Add a {.steps} line under an ordinary ordered list; CSS draws …
-
Fields
A field list documents named settings: configuration keys, command-line flags, API fields. Each name sits on its own line with small chips for its type, whether it is required and its default, and the description runs underneath at full width, so a …
A field list documents named settings: configuration keys, command-line flags, API fields. Each name sits on its own line with small chips for its type, whether it is required and its default, and the description runs underneath at full width, so a …
-
Tables
Tables are ordinary GFM pipe tables, so they read the same on GitHub and in any editor. OINK adds what long technical tables need: a wide table scrolls inside its own box instead of stretching the page, and one attribute line under the table turns it …
Tables are ordinary GFM pipe tables, so they read the same on GitHub and in any editor. OINK adds what long technical tables need: a wide table scrolls inside its own box instead of stretching the page, and one attribute line under the table turns it …
-
Tabs
Tabs put equivalent alternatives side by side, such as package managers, operating systems, YAML / TOML / JSON, or an environment variable and its configuration key, so each reader sees the one that applies to them. Do not use them for ordered steps …
Tabs put equivalent alternatives side by side, such as package managers, operating systems, YAML / TOML / JSON, or an environment variable and its configuration key, so each reader sees the one that applies to them. Do not use them for ordered steps …
-
Code Blocks
Commands, configuration files and source code go in an ordinary Markdown fence. Hugo’s built-in Chroma highlighter colors it while the site builds, so the page ships highlighted HTML and the browser runs no highlighter. Attributes on the fence’s …
Commands, configuration files and source code go in an ordinary Markdown fence. Hugo’s built-in Chroma highlighter colors it while the site builds, so the page ships highlighted HTML and the browser runs no highlighter. Attributes on the fence’s …
-
Callouts
A callout lifts out the one thing a reader must not miss: a prerequisite, a destructive command, a version limit. It is an ordinary blockquote whose first line is a [!TYPE] marker, the syntax GitHub and Obsidian use, so the same source renders as an …
A callout lifts out the one thing a reader must not miss: a prerequisite, a destructive command, a version limit. It is an ordinary blockquote whose first line is a [!TYPE] marker, the syntax GitHub and Obsidian use, so the same source renders as an …
-
Components
Components are what a documentation page needs beyond paragraphs: a warning the reader must not skip, install commands for three platforms, a diagram, a chart, a terminal recording. Most of them are ordinary Markdown with one attribute line, so the …
Components are what a documentation page needs beyond paragraphs: a warning the reader must not skip, install commands for three platforms, a diagram, a chart, a terminal recording. Most of them are ordinary Markdown with one attribute line, so the …