Skip to content

Latest commit

 

History

History
81 lines (60 loc) · 1.94 KB

readme.md

File metadata and controls

81 lines (60 loc) · 1.94 KB

Format of songs

Use two new lines (one blank; \n\n) to separate slides. Slides can be multiline, separated by only on newline character \n.

Example:

Light of the world, You step down into darkness.
Opened my eyes let me see.

Beauty that made this heart adore you
hope of a life spent with you.`

And here I am to worship,
Here I am to bow down,
Here I am to say that you're my God,`

You're altogether lovely,
Altogether worthy,
Altogether wonderful to me.

New idea: Format of songs

The following text format will be parsed into a JSON tree.

# All Lines starting with a '#' will not show up on the audience screen, 
# but will show up in presenter screen

---
# Header of song here, enclosed in triple hyphens
"Here I am to worship" music and lyrics by Tim Hughes
Copyright 2003 Tim Hughes
CCLI #123456
---

# Slide 1 - Verse 1
Light of the world 
You stepped down into darkness 
Opened my eyes let me see 


This will be text for slide 2.
# Each slide is separated by a blank line


# Headers are optional; you can have a blank header to denote a new song,
# but without song header. This allows you to hide the song header for the next song, if you enabled the option of showing the header on every slide of the song

---
---

New song slide

JSON tree

To simplify the syntax tree format, single new lines within a block of text will be untouched, and it's up to app display to present it as <li> items, etc.

[
    {
        header: {text: "Here..." music and lyrics by Tim Hughes 2003..."},
        slides: [
            { text: "Light of the world\nYou stepped down into darkness..."
                , notes: "Slide 1 - Verse 1" },
            { text: "Beauty that made..."}
        ]
    },
    {
        //headers are optional
        slides: [
            { text: "Light of the world\nYou stepped down into darkness..."
                , notes: "Slide 1 - Verse 1" },
            { text: "Beauty that made..."}
        ]
    }
]