Squire

Write interactive stories in Markdown for publishing in the Kindle marketplace.

Syntax Reference

Here's an example story with only three chapters. The first chapter links to the other two chapters. The other two chapters link back to the first chapter to start over.
% The Bus That Couldn't Slow down
% Homer Simpson

# You are on a bus {#start}

The bus is going 100 miles per hour.
You can't slow it down or it will explode.

You think you've seen this in a movie
before somewhere. Either way, this seems not great.

- [Hit the breaks and find out if you are explosion-proof](#breaks)
- [Jump out the window](#jump-out-window)

# You hit the breaks {#breaks}

Awh, beans. The bus explodes. You are dead.
I guess you weren't explosion-proof after all.
The end.

- [Start over](#start)

# You jump out the window {#jump-out-window}

You jump out the window and land in a pile of
hay that fell off the back of a truck.
What are the odds? You are safe and sound. The end.

- [Start over](#start)