summaryrefslogtreecommitdiffstats
path: root/source-builder/sb/asciidoc/examples/website/slidy-example.txt
blob: aab2dd3d90d6dac1a7afede16600e10b28b1e25a (plain) (blame)
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
Slidy Example Slideshow
=======================
:author:    Joe Bloggs
:copyright: Foobar Inc.
:backend:   slidy
:max-width: 45em
:data-uri:
:icons:


This preamble will appear on a separate slide.


AsciiDoc Elements
-----------------
Sagittis in vestibulum. Habitasse ante nulla enim bibendum nulla. Odio
sed pede litora.

[float]
=== Titles inside delimited blocks must be floated
Porta nisl metus. Justo porttitor vel. Cras consequat tincidunt id sed
conubia. Feugiat felis justo. Nunc amet nulla. Eu ac orci mollis.

.Tiger
image::images/tiger.png[]


Incremental Elements
--------------------
The remaining elements on this page are incremental, press the space
bar to reveal them.

[role="incremental"]
- Rhoncus pede justo.
- Velit pede dolor.
- Iaculis commodo et.
- Volutpat tristique nec.

[role="incremental"]
--
Sagittis in vestibulum. Habitasse ante nulla enim bibendum nulla. Odio
sed pede litora.
--

[role="incremental"]
. Rhoncus pede justo.
. Velit pede dolor.
. Iaculis commodo et.
. Volutpat tristique nec.


Outline Elements
----------------
The following list is a Slidy 'outline' list -- nested bulleted or
numbered lists are expanded when the enclosing list item (the ones
with blue bullet points or numbers) are clicked.

[role="outline"]
- Rhoncus pede justo.
  * Rhoncus pede justo.
  * Velit pede dolor.

- Velit pede dolor.
  * Iaculis commodo et.
+
NOTE: 'Note' admonition paragraph.

  * Volutpat tristique nec.
+
image::images/tiger.png[]
  * Iaculis commodo et.
  * Volutpat tristique nec.

- Iaculis commodo et.
[role="outline"]
  . Rhoncus pede justo.
  ** Velit pede dolor.
  ** Iaculis commodo et.
  . Volutpat tristique nec.

- Volutpat tristique nec.


AsciiDoc Elements
-----------------
NOTE: 'Note' admonition paragraph.

IMPORTANT: 'Important' admonition paragraph.

.Sidebar
*********************************************************************
Faucibus sagittis commodo sed et eu. Quam nullam ornare. Sed vel est.
Mauris urna lobortis interdum placerat per id magnis enim.
*********************************************************************


AsciiDoc Elements
-----------------
A quote block:

[quote, Bertrand Russell, The World of Mathematics (1956)]
____________________________________________________________________
A good notation has subtlety and suggestiveness which at times makes
it almost seem like a live teacher.
____________________________________________________________________

A verse block:

[verse, William Blake, from Auguries of Innocence]
__________________________________________________
To see a world in a grain of sand,
And a heaven in a wild flower,
Hold infinity in the palm of your hand,
And eternity in an hour.
__________________________________________________


AsciiDoc Elements
-----------------
.Horizontal and vertical source data
[width="80%",cols="3,^2,^2,10",options="header"]
|=========================================================
|Date |Duration |Avg HR |Notes

|22-Aug-08 |10:24 | 157 |
Worked out MSHR (max sustainable heart rate) by going hard
for this interval.

|22-Aug-08 |23:03 | 152 |
Back-to-back with previous interval.

|24-Aug-08 |40:00 | 145 |
Moderately hard interspersed with 3x 3min intervals (2min
hard + 1min really hard taking the HR up to 160).

|=========================================================


Filters
-------
[source,python]
.Python source
---------------------------------------------------------------------
''' A multi-line
    comment.'''
def sub_word(mo):
    ''' Single line comment.'''
    word = mo.group('word')     # Inline comment
    if word in keywords[language]:
        return quote + word + quote
    else:
        return word
---------------------------------------------------------------------

[music]
.Music
---------------------------------------------------------------------
\version "2.10.0"
\paper {
  ragged-right = ##t
}
{
  \time 3/4
  \clef bass
  c2 e4 g2. f4 e d c2 r4
}
---------------------------------------------------------------------