SuperStories Writer Fence Reference
StoryKit v1.0 / Story Engine v1.9 / Lore Engine v1.1
This is the complete list of writer-side :::fences used in .story.md documents.
All fences must be lowercase and properly closed.
Structural Fences (StoryKit)
| Fence | Purpose |
|---|---|
:::actN |
Defines a major act (e.g., :::act1) |
:::sceneN |
Defines a scene within the act |
:::prompt |
Required fence containing all story prose, logic, and embedded content |
Lore & Memory Fences (Lore Engine)
Must be nested inside :::prompt
| Fence | Purpose |
|---|---|
:::backstory |
Defines people, items, places, and world state |
:::setting |
Describes the physical and emotional scene environment |
:::relationship |
Encodes memory triples: {#subject#verb#object} |
:::summary |
UI-readable summary of a scene or act |
:::ending |
Denotes a resolution or final turning point |
:::table |
In-universe data (logs, status panels, etc.) |
Branching & Conditional Fences (Story Engine)
Must be nested inside :::prompt
| Fence | Purpose |
|---|---|
:::brancha |
Defines a story choice that leads to another scene |
:::branchb |
Additional branch (label must be lowercase) |
:::branchc, etc. |
Continue as needed for more options |
:::if |
Conditional logic (e.g., player choices, flags) |
:::elseif |
Additional condition |
:::else |
Default branch if no other condition matched |
Writer Fence Rules
- All fences must be lowercase
- All fences must be closed with
::: - Only the following fences are allowed outside
:::prompt::::actN,:::sceneN,:::prompt - All other fences must be inside
:::prompt
Structure is canon.
Fences are law.