1 | Slidy Example Slideshow |
---|
2 | ======================= |
---|
3 | :author: Joe Bloggs |
---|
4 | :copyright: Foobar Inc. |
---|
5 | :backend: slidy |
---|
6 | :max-width: 45em |
---|
7 | :data-uri: |
---|
8 | :icons: |
---|
9 | |
---|
10 | |
---|
11 | This preamble will appear on a separate slide. |
---|
12 | |
---|
13 | |
---|
14 | AsciiDoc Elements |
---|
15 | ----------------- |
---|
16 | Sagittis in vestibulum. Habitasse ante nulla enim bibendum nulla. Odio |
---|
17 | sed pede litora. |
---|
18 | |
---|
19 | [float] |
---|
20 | === Titles inside delimited blocks must be floated |
---|
21 | Porta nisl metus. Justo porttitor vel. Cras consequat tincidunt id sed |
---|
22 | conubia. Feugiat felis justo. Nunc amet nulla. Eu ac orci mollis. |
---|
23 | |
---|
24 | .Tiger |
---|
25 | image::images/tiger.png[] |
---|
26 | |
---|
27 | |
---|
28 | Incremental Elements |
---|
29 | -------------------- |
---|
30 | The remaining elements on this page are incremental, press the space |
---|
31 | bar to reveal them. |
---|
32 | |
---|
33 | [role="incremental"] |
---|
34 | - Rhoncus pede justo. |
---|
35 | - Velit pede dolor. |
---|
36 | - Iaculis commodo et. |
---|
37 | - Volutpat tristique nec. |
---|
38 | |
---|
39 | [role="incremental"] |
---|
40 | -- |
---|
41 | Sagittis in vestibulum. Habitasse ante nulla enim bibendum nulla. Odio |
---|
42 | sed pede litora. |
---|
43 | -- |
---|
44 | |
---|
45 | [role="incremental"] |
---|
46 | . Rhoncus pede justo. |
---|
47 | . Velit pede dolor. |
---|
48 | . Iaculis commodo et. |
---|
49 | . Volutpat tristique nec. |
---|
50 | |
---|
51 | |
---|
52 | Outline Elements |
---|
53 | ---------------- |
---|
54 | The following list is a Slidy 'outline' list -- nested bulleted or |
---|
55 | numbered lists are expanded when the enclosing list item (the ones |
---|
56 | with blue bullet points or numbers) are clicked. |
---|
57 | |
---|
58 | [role="outline"] |
---|
59 | - Rhoncus pede justo. |
---|
60 | * Rhoncus pede justo. |
---|
61 | * Velit pede dolor. |
---|
62 | |
---|
63 | - Velit pede dolor. |
---|
64 | * Iaculis commodo et. |
---|
65 | + |
---|
66 | NOTE: 'Note' admonition paragraph. |
---|
67 | |
---|
68 | * Volutpat tristique nec. |
---|
69 | + |
---|
70 | image::images/tiger.png[] |
---|
71 | * Iaculis commodo et. |
---|
72 | * Volutpat tristique nec. |
---|
73 | |
---|
74 | - Iaculis commodo et. |
---|
75 | [role="outline"] |
---|
76 | . Rhoncus pede justo. |
---|
77 | ** Velit pede dolor. |
---|
78 | ** Iaculis commodo et. |
---|
79 | . Volutpat tristique nec. |
---|
80 | |
---|
81 | - Volutpat tristique nec. |
---|
82 | |
---|
83 | |
---|
84 | AsciiDoc Elements |
---|
85 | ----------------- |
---|
86 | NOTE: 'Note' admonition paragraph. |
---|
87 | |
---|
88 | IMPORTANT: 'Important' admonition paragraph. |
---|
89 | |
---|
90 | .Sidebar |
---|
91 | ********************************************************************* |
---|
92 | Faucibus sagittis commodo sed et eu. Quam nullam ornare. Sed vel est. |
---|
93 | Mauris urna lobortis interdum placerat per id magnis enim. |
---|
94 | ********************************************************************* |
---|
95 | |
---|
96 | |
---|
97 | AsciiDoc Elements |
---|
98 | ----------------- |
---|
99 | A quote block: |
---|
100 | |
---|
101 | [quote, Bertrand Russell, The World of Mathematics (1956)] |
---|
102 | ____________________________________________________________________ |
---|
103 | A good notation has subtlety and suggestiveness which at times makes |
---|
104 | it almost seem like a live teacher. |
---|
105 | ____________________________________________________________________ |
---|
106 | |
---|
107 | A verse block: |
---|
108 | |
---|
109 | [verse, William Blake, from Auguries of Innocence] |
---|
110 | __________________________________________________ |
---|
111 | To see a world in a grain of sand, |
---|
112 | And a heaven in a wild flower, |
---|
113 | Hold infinity in the palm of your hand, |
---|
114 | And eternity in an hour. |
---|
115 | __________________________________________________ |
---|
116 | |
---|
117 | |
---|
118 | AsciiDoc Elements |
---|
119 | ----------------- |
---|
120 | .Horizontal and vertical source data |
---|
121 | [width="80%",cols="3,^2,^2,10",options="header"] |
---|
122 | |========================================================= |
---|
123 | |Date |Duration |Avg HR |Notes |
---|
124 | |
---|
125 | |22-Aug-08 |10:24 | 157 | |
---|
126 | Worked out MSHR (max sustainable heart rate) by going hard |
---|
127 | for this interval. |
---|
128 | |
---|
129 | |22-Aug-08 |23:03 | 152 | |
---|
130 | Back-to-back with previous interval. |
---|
131 | |
---|
132 | |24-Aug-08 |40:00 | 145 | |
---|
133 | Moderately hard interspersed with 3x 3min intervals (2min |
---|
134 | hard + 1min really hard taking the HR up to 160). |
---|
135 | |
---|
136 | |========================================================= |
---|
137 | |
---|
138 | |
---|
139 | Filters |
---|
140 | ------- |
---|
141 | [source,python] |
---|
142 | .Python source |
---|
143 | --------------------------------------------------------------------- |
---|
144 | ''' A multi-line |
---|
145 | comment.''' |
---|
146 | def sub_word(mo): |
---|
147 | ''' Single line comment.''' |
---|
148 | word = mo.group('word') # Inline comment |
---|
149 | if word in keywords[language]: |
---|
150 | return quote + word + quote |
---|
151 | else: |
---|
152 | return word |
---|
153 | --------------------------------------------------------------------- |
---|
154 | |
---|
155 | [music] |
---|
156 | .Music |
---|
157 | --------------------------------------------------------------------- |
---|
158 | \version "2.10.0" |
---|
159 | \paper { |
---|
160 | ragged-right = ##t |
---|
161 | } |
---|
162 | { |
---|
163 | \time 3/4 |
---|
164 | \clef bass |
---|
165 | c2 e4 g2. f4 e d c2 r4 |
---|
166 | } |
---|
167 | --------------------------------------------------------------------- |
---|