1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
-- ftd.column presentation:
open: true
append-at: col-id
integer current: 1
width: fill
--- ftd.text: This is presentation
--- ftd.integer: $current
--- ftd.integer: $CHILDREN-COUNT
--- ftd.column:
id: col-id
-- ftd.text slide: $title
caption title:
if: $PARENT.current == $SIBLING-INDEX
$on-click$: increment $PARENT.current clamp 1 $PARENT.CHILDREN-COUNT
-- ftd.column page:
open: true
append-at: child-id
--- ftd.text: Page Title
--- ftd.column:
id: child-id
-- ftd.column:
spacing: 40
-- presentation:
--- slide: First 11
--- slide: Second 11
-- page:
-- presentation:
--- slide: First 1
--- slide: Second 1
--- slide: Third 1