Example 1
sampleshowcase
This page exists only to show every custom content component in one place. See the help/
folder in the project repo (text_types.md, media.md, block.md) for the full syntax
reference for each one.
Text types
Bold: this word is bold.
Italic: this word is italic.
Underline: this word is underlined.
Strikethrough: this word is struck through.
Abbreviation: the AIFAnomaly Investigation Foundation was founded in 1998.
Spoiler: the creature was later identified as Dr. Alderman’s missing research partner.
Censor: the subject’s true designation is .
Links & footnotes
Internal link: see AIF-001 for a real (sample) anomaly file.
External link: see Wikipedia — opens in a new tab automatically.
Jump link: skip ahead to the timeline.
Footnote: this claim needs a source.1
Images
GIFs use this exact same syntax (they’re just an animated image file) — this SVG is standing in for one:
Video & audio
Image comparison slider
Numbered lists
A normal numbered list uses regular numbers:
- Investigate
- Contain
- Understand
Wrap the same list in RomanList for roman numerals (add lower for i, ii, iii):
- Investigate
- Contain
- Understand
- Investigate
- Contain
- Understand
Table
| Class | Risk |
|---|---|
| Safe | Low |
| Euclid | Medium |
| Keter | High |
Quote blocks
Plain blockquote:
Whatever it was, it looked back.
Attributed quote:
— Dr. Placeholder, Lead ResearcherWhatever it was, it looked back.
Log entries
First observation logged. Subject remained dormant throughout the session.
Subject reacted to auditory stimuli for the first time.
Collapsible sections
Closed by default
This content is hidden until clicked.
Open by default
This content starts visible because of the open prop.
Callout boxes
Note
This is a note callout — the default type.
Info
This is an info callout.
Warning
This is a warning callout.
Containment Breach
This is a danger callout with a custom label.
Combining components
Components can nest inside each other — whatever a component’s slot holds is rendered exactly like the rest of the page, tags included.
Info
A callout can contain a spoiler, like this one, or anything else.
A collapsible section containing a Callout
Warning
And that callout can contain more formatting: bold, italic, even a GOIGroup of Interest.
Timeline
The AIF was founded.
First containment site established.
A second wave of sites opened across three continents.
Database digitization project completed.
A major containment breach, later resolved.
New recruitment program launched.
AIF-001 was recovered and contained. Click to open its file.
Archive restructuring completed.
This showcase page was created.
Footnotes
-
This is the footnote body, and it can contain its own formatting. ↩