Script of the Archives
“Clarity of script is clarity of memory.”
This guide shows the markdown you’ll actually use in the Grand Archives.
Anything more complex is optional flavour, not a requirement.
1. Frontmatter (the page’s identity)
Section titled “1. Frontmatter (the page’s identity)”Every page in the Archives starts with frontmatter, a YAML block between --- lines:
---title: "Session 03 — The Shattered Road"description: "The party leaves Emberfall and realises the roads are no longer safe."type: "session"sessionNumber: 3draft: true---title- what appears in the sidebar and at the top of the page.description- short summary for search/preview.draft: true- hide from the sidebar until it’s ready.
After the second ---, you write normal markdown.
2. Headings
Section titled “2. Headings”Use # for headings. More # = smaller heading.
# Main Title (usually supplied by frontmatter)
## Section
### Subsection
#### Sub-subsectionRecommended pattern for sessions:
## Summary
## Cast
## Major Events
## Consequences
## Loot & RewardsFor lore/locations:
## Overview
## History
## Important Figures
## Hooks3. Emphasis (bold, italics)
Section titled “3. Emphasis (bold, italics)”_italic text_**bold text****_bold and italic_**Example:
The **Church of Sacro Elcarion** claims to serve the light, but its _methods_ suggest otherwise.4. Lists
Section titled “4. Lists”Bullet lists
Section titled “Bullet lists”- First point- Second point - Indented sub-pointNumbered lists
Section titled “Numbered lists”1. First step2. Second step3. Third stepPerfect for timelines and ordered events.
5. Links
Section titled “5. Links”Internal links (optional but nice)
Section titled “Internal links (optional but nice)”If you know the URL/slug:
See also: [Emberfall](/locations/cities-and-villages/emberfall/)External links
Section titled “External links”[Official D&D SRD](https://www.dndbeyond.com/)6. Tables (for clean structured info)
Section titled “6. Tables (for clean structured info)”Tables are great for NPCs, factions, loot, etc.
| Name | Role | Notes || ------------- | ------------------ | ----------------------------- || Elion | Archivist | Knows far too much. || Jora | Innkeeper | Owns the Ember Inn. || Father Malrec | Priest of Elcarion | Smiles too much at autopsies. |Make sure the header row, separator row, and data rows all have the same number of | columns.
7. Code blocks (for mechanics, rolls, or technical notes)
Section titled “7. Code blocks (for mechanics, rolls, or technical notes)”Use triple backticks ``` to create a fenced block:
```textDC 15 Perception to notice the hidden sigil.On a success: they sense they’re being watched.On a failure: the sigil activates later, unnoticed.```(When writing this in a real file, remove the extra indentation/backticks around the example.)
You can also tag the block with a language like `bash`, `json`, etc. for technical notes.
---
## 8. Blockquotes (for in-world text or emphasis)
```md> This is a blockquote.> It can span multiple lines.Example for lore:
> “The First Turning was not a blessing. It was a bargain.”> — Fragment from the Ashen Tablets9. Horizontal rules (scene breaks)
Section titled “9. Horizontal rules (scene breaks)”Use three or more dashes:
---Great for separating sections or scenes:
## Major Events
- The caravan is found destroyed.- The only survivor speaks of pale lights in the fog.
---
## Consequences
- Trade prices in Emberfall spike.- The Church quietly sends its own investigators.10. Images (optional, if/when used)
Section titled “10. Images (optional, if/when used)”If you later add maps or character art and store them under /public:
Keep alt text short but descriptive.
11. Common patterns for the Observer
Section titled “11. Common patterns for the Observer”Session layout
Section titled “Session layout”---title: "Session 05 — Into the Shattered Pass"description: "The party braves the pass and discovers what stalks the old road."type: "session"sessionNumber: 5---
## Summary
Brief recap of the session.
## Cast
- **Character** – role this session.- **NPC** – how they were involved.
## Major Events
- Event 1- Event 2
## Consequences
- Immediate fallout.- Long-term repercussions.
## Loot & Rewards
- Gold, items, favours, information.Location layout
Section titled “Location layout”---title: "Emberfall"description: "Trade-city built around an ever-burning forge."type: "location"category: "city"region: "Central Omain"---
## Overview
High-level description and vibe.
## Districts
- **Forge Quarter** – industrial, noisy, hot.- **Sky Market** – precarious walkways and rope bridges.
## Important Figures
- **Elra the Forgemaster** – controls most metalwork.- **Jora** – innkeeper and information broker.
## Hooks
- Rumours, quests, reasons to come back.12. When in doubt
Section titled “12. When in doubt”If something looks strange in the rendered site:
- Check for missing closing
"or---in the frontmatter. - Make sure headings start at
##(since the page title is already#). - Ensure tables have the same number of columns per row.
- Avoid mixing tabs and spaces around list bullets.
If it still misbehaves, hand it to the Scribe (your dev friend) and blame the quills.
Your job is to remember the world. The markdown is just the script the Archives read.