Skip to content

Simplistic, opinionated paradigm for mutable stories #3

@jesselawson

Description

@jesselawson

It should be relatively easy to write a quick, mutable story with Campfire.

For example, let's say I want to create a tutorial on how to use it. The tutorial should fit on a single html page, with each tutorial section setup as a .page-# div.

There should be a way to automatically create some kind of inner link with a special identifier that will close the page it's on and open the next page in the sequence.

Perhaps something like this:

<div id="page-1">
<p>Clicking the second link on page 2 takes you here.</p>
</div>

<div id="page-2">
<p>This is page two. Go <a onclick="story.linknext()">here</a> for the next page, or <a onclick="story.linkprev()">here</a> to go back one page.
</div>

<div id="page-3">
<p>Clicking the first link on page 2 takes you here.</p>
</div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions