Sample Content
A tour of everything a page can do in this wiki.
Sample Content
Every page under here was written by Generate Sample Content in the admin area’s Utilities
page. It exists so a fresh instance has something to look at — formatting to check a stylesheet
against, blocks to check a renderer against, and a folder tree deep enough to exercise navigation.
Everything here is disposable
Every one of these pages carries the
testtag. Purge Sample Content, on the same Utilities
page, deletes exactly those and nothing else.
Formatting
How the markdown renderer draws the ordinary things.
- Text Formatting — headings, emphasis, and the inline marks
- Lists and Tasks — bullets, numbers, definitions, checkboxes
- Tables — alignment, spans of content, a wide one that scrolls
- Code Blocks — titles, line numbering, highlighted lines
- Alerts and Quotes — the five GitHub alert kinds
- Links, Images and Footnotes — how a page points elsewhere
Blocks
The web components a page can embed. Each is a ::block-name in the source.
A discussion
- Discussion — a page with a busy Talk tab: several
people, threads of replies, mentions, a guest or two
A folder tree to walk
- Getting Started — three pages, two levels down
- Advanced — three more beside them
- Reference — a glossary, an API page and a changelog
What is under here
- Alerts and Quotes — The five GitHub alert kinds, and ordinary block quotes.
- API Reference — A worked example of the REST API, and where the real documentation lives.
- Changelog — A page of nothing but lists and dates, for checking vertical rhythm.
- Code Blocks — Fenced code with a title, a starting line number and highlighted lines.
- Configuration — Where settings live, and which of them are files.
- Diagrams — Mermaid and Kroki, rendered in the page.
- Discussion — A page with a busy Talk tab: a proposal to archive stale pages, and plenty of opinions about it.
- Glossary — The words this wiki uses for its own parts.
- Index and Include — Listing the pages under a folder, and pulling one page into another.
- Infoboxes and Spoilers — A summary box beside the text, and content hidden until it is asked for.