New Page Guide
Guide on how to use markdown to create new pages
Homebrew Style Guide
This page shows how to use our custom styling in the wiki:
- Single-column vs two-column "book page" layout
- Tables styled like the PHB
- Monster statblock layout
- Homebrew-style Notes (
hb-note) - Homebrew-style Blocks (
hb-block) - Code blocks
Everything on this page is both an example and a recipe you can copy.
1. Single-column content (default)
If you don’t wrap anything in .hb-page, the page is a normal
single-column layout with the "book" styling.
You don’t need any special HTML for this – just write normal Markdown:
## A Simple Single-Column Section
This section uses the default layout.
It’s good for wide content like character sheets or big images.
- Normal headings
- Normal lists
- Normal paragraphs
A Simple Single-Column Section
This section uses the default layout.
It’s good for wide content like character sheets or big images.
- Normal headings
- Normal lists
- Normal paragraphs
2. Two-column "book page" layout (hb-page)
To get the PHB-style two-column layout, wrap your content in:
<div class="hb-page">
## My Two-Column Section
Content in here will flow into two columns, like a printed book.
</div>
Example: The Ruined City of Talaris (Two Columns)
The Ruined City of Talaris
Long ago, when the empires of men still stretched across the world, the city of Talaris was a jewel of learning and trade. Now it lies broken beneath choking ivy and patient sand, its towers leaning like the teeth of some ancient beast.
This paragraph is mostly here so you can see the first-line indent in action when paragraphs follow one another. Notice how the lines flow like a block of book text rather than a web article.
Overview of the Region
Talaris lies…
- in a sunken valley, once a broad riverbed
- between the Stormspine Mountains to the north
- and the Glass Sea to the south
The area is known for:
- Sudden, violent dust storms
- Strange lights over the ruins at night
- Travelers vanishing on clear, quiet evenings
Factions at Play
- The Lantern Guild – treasure hunters who call themselves "archaeologists" when speaking to nobles.
- The Ashen Choir – a doomsday cult convinced that something beneath Talaris must awaken.
- The Wardens of Dawn – a small order of soldiers sworn to keep the city sealed.
Adventure Hooks
- A noble patron hires the party to retrieve a specific relic from the city’s central plaza.
- A caravan has gone missing near Talaris, and only one badly wounded guard staggered back.
- Rumors speak of a dragon nesting amid the broken towers.
"The city is not dead,"
whispers an old caravan guard.
"It’s listening."
3. Rumor / data tables
Tables written in normal Markdown automatically get the styled, zebra-striped look.
How to write it:
## Example Table – Rumors in the Tavern
| d6 | Rumor | Truth? |
|----|-----------------------------------------------|--------------------------------|
| 1 | A dragon sleeps in the highest tower. | Half-true. Wyvern, not dragon.|
| 2 | The ruins shift every full moon. | False, but people get lost. |
| 3 | Drinking from the old fountains grants visions.| True, but the visions are hostile. |
Rendered example:
Example Table – Rumors in the Tavern
| d6 | Rumor | Truth? |
|---|---|---|
| 1 | A dragon sleeps in the highest tower. | Half-true. Wyvern, not dragon. |
| 2 | The ruins shift their layout every full moon. | False, but people get lost easily. |
| 3 | Drinking from the old fountains grants visions. | True, but visions are not friendly. |
| 4 | The Ashen Choir sacrifices travelers at dusk. | True. They prefer lonely pilgrims. |
| 5 | No birds ever fly over the city. | True, and nobody knows why. |
| 6 | The Wardens store their pay in a hidden vault. | Mostly false; they’re famously poor. |
4. Monster statblock demo
There’s no special class required for a simple statblock – headings, italics,
and a table are enough.
How to write it:
### Glass-Eyed Stalker
*Medium aberration, chaotic evil*
**Armor Class** 15 (natural armor)
**Hit Points** 78 (12d8 + 24)
**Speed** 40 ft., climb 20 ft.
| STR | DEX | CON | INT | WIS | CHA |
|:---:|:---:|:---:|:---:|:---:|:---:|
| 16 (+3) | 18 (+4) | 14 (+2) | 10 (+0) | 12 (+1) | 6 (-2) |
**Skills** Stealth +8, Perception +4
**Senses** darkvision 60 ft., passive Perception 14
**Languages** understands Deep Speech but can’t speak
**Challenge** 5 (1,800 XP)
Rendered example:
Glass-Eyed Stalker
Medium aberration, chaotic evil
Armor Class 15 (natural armor)
Hit Points 78 (12d8 + 24)
Speed 40 ft., climb 20 ft.
| STR | DEX | CON | INT | WIS | CHA |
|---|---|---|---|---|---|
| 16 (+3) | 18 (+4) | 14 (+2) | 10 (+0) | 12 (+1) | 6 (-2) |
Skills Stealth +8, Perception +4
Senses darkvision 60 ft., passive Perception 14
Languages understands Deep Speech but can’t speak
Challenge 5 (1,800 XP)
Shadow Pounce. The stalker can move through a creature’s space and does not provoke opportunity attacks when moving in dim light or darkness.
Many-Gazed. Creatures that start their turn within 10 feet of the stalker must succeed on a DC 14 Wisdom saving throw or become frightened until the start of their next turn.
5. Note boxes (hb-note)
Use hb-note for important sidebars, warnings, or tips.
Markdown (bold, italics, lists) works inside, but headings/tables can look odd,
so keep it to paragraph/text content.
How to write it:
<div class="hb-note">
<p class="hb-note-title">Some Note</p>
In here you can write *Markdown* such as **bold text**, lists, etc.
- Bullet one
- Bullet two
</div>
Rendered example:
Some Note
In here you can write Markdown such as bold text, lists, etc.
- Bullet one
- Bullet two
6. Block highlights (hb-block)
Use hb-block for short inline callouts – a tinted background strip that
sits in the flow of text.
How to write it:
Some text before the block.
<div class="hb-block">
This block uses the `hb-block` class with a tinted background.
Markdown like _italics_ and **bold** works fine here.
</div>
Some text after the block.
Rendered example:
Some text before the block.
Markdown like italics and bold works fine here.
Some text after the block.
7. Code blocks
Code blocks work like normal Markdown triple-backtick blocks and get the
"parchment" styling around them.
How to write it:
```js
// Example snippet, just to see code formatting
function randomRumor(d6) {
const rumors = [
"A dragon sleeps in the highest tower.",
"The ruins shift every full moon.",
"The fountains grant dangerous visions.",
"The Ashen Choir sacrifices travelers.",
"No birds fly over the city.",
"The Wardens hoard a secret treasure."
];
return rumors[(d6 - 1) % rumors.length];
}
Rendered example:
// Example snippet, just to see code formatting
function randomRumor(d6) {
const rumors = [
"A dragon sleeps in the highest tower.",
"The ruins shift every full moon.",
"The fountains grant dangerous visions.",
"The Ashen Choir sacrifices travelers.",
"No birds fly over the city.",
"The Wardens hoard a secret treasure."
];
return rumors[(d6 - 1) % rumors.length];
}