-
Notifications
You must be signed in to change notification settings - Fork 21
Text page
thecodewarrior edited this page Aug 2, 2016
·
2 revisions
Text pages are the majority of the pages you'll create, and are very simple.
"texts":{
"<section name>": [
"<text definition>"
],
"<section 2 name>": [
"<text definition>"
]
}
With the text defined inside the page:
"text": [
"<text definition>"
]
Using a specific page from a global text section:
"text": {
"global":"<section name>",
"page":0
}
[
"A string that can §ocontain§r formatting §2codes.\nThe codes will reset on each newline.",
"Consecutive strings will be separate paragraphs",
"You can add links (and more in the future) to a page, using an object. ", {"type":"link", "ref":"<<LINK>>", "text":"Here" }, " is an example. There wasn't a paragraph break in there because it wasn't two consecutive strings"
]