There are hypertext authoring system out there like twine.
However for simpler choose your own adventure stories. It may be easier to use MarkDown instead.
The only question, is how to replicate certain features like trigger condition. Thats where having some javascript may be handy, for more complex stories.
BELOW IS EXAMPLE MARKDOWN STORY
---------------------------
# <a name="start"></a> Title of Story #
Intro text
## <a name="1stScene"></a> First Scene
Girl in distance says hello
* [look](#a)
* [wave](#b)
* [kick](#c)
## <a name="a"></a> choice a
She has a shiny fur. She a furry!
THE END
## <a name="b"></a> First Scene
She waves back
## <a name="c"></a> First Scene
She blocks your kick, and kills you with a single punch to the face. Your mouth is full of fur.
[Restart](#start)
-------------
Update: Due to a new change in pandoc, this works:
# A random story {#start}
Intro text here.
[Walk Forward](#1stScene)
## First Scene {#1stScene}
* [look](#a) * [wave](#b) * [kick](#c)
## choice a - touch the stranger {#a}
She has a shiny fur. She is a furry!
* [Restart](#start)
## choice b - wave at the stranger{#b}
## choice c - kick the stranger{#c}
* [Restart](#start)-- mofosyne, Jan 28 2014 I feel a bit like I'm watching a late-night infomercial here. Are you all the time writing choose-your-own- adventure stories on the Interwebs, but *hate* dealing with messy HTML or confusing JavaScript? Then you need Choose-Down, the Markdown solution for interactive fiction authors!-- ytk, Jan 28 2014 random, halfbakery