mirror of
https://github.com/Oreolek/gamebookformat.git
synced 2024-07-01 06:05:11 +03:00
e5723bdf70
Instead of just [[section]] you can have [[section][name]] and depending on format the name will be displayed instead of or in addition to the section number referred to.
18 lines
1.1 KiB
Plaintext
18 lines
1.1 KiB
Plaintext
BEGIN DEBUG OUTPUT
|
|
Book title: Format
|
|
Number of sections: 6
|
|
Introduction
|
|
Adding an introduction to the gamebook here. This will create a section, but it will not be shuffled nor numbered with the gamebook sections below.
|
|
Another Heading
|
|
This starts another non-shuffled section.
|
|
|
|
|
|
Adventure begins in section 1.
|
|
1 (start) - This examples tests gamebook formatting, not so much game mechanics or references. Currently there is nothing here really. This section contains some tricky characters to quote, like } and { and " and ' and \. HTML will probably not like <div> or &boom;. You can make named references like this (5) (just happens to be exactly the same syntax as in emacs org-mode btw). There should be an image below as well. If something broke, turn to 2, otherwise turn to 3. [IMG]testimage.png[/IMG]
|
|
2 (bad) - Bad.
|
|
3 (good) - Good!
|
|
4 (named2) - Very good. You win (3).
|
|
5 (named1) - This is where you should end up when you follow the named reference from the starting section. From here you can go to the second named section (4) or to the good end (3).
|
|
6 () - (EMPTY)
|
|
END DEBUG OUTPUT
|