forked from neuralyzer/dokuwiki-plugin-revealjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example_presentation.dokuwiki
388 lines (211 loc) · 8.02 KB
/
example_presentation.dokuwiki
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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
~~NOCACHE~~
~~REVEAL theme=dokuwiki&transition=convex&controls=1&show_progress_bar=1&build_all_lists=1&show_image_borders=0&horizontal_slide_level=2&enlarge_vertical_slide_headers=0&show_slide_details=1&open_in_new_window=1&size=1024x768~~
<wrap footer>Footer content here.</wrap>
{{no-footer}}
====== Reveal.js Test ======
This is a test suite for the Reveal.js plugin.
<notes>
These are notes. They are only shown on the wiki page.
* Lists in notes are always NOT incremental
* This is because you would have to press for each list entry the next button without seeing anything
<code php>
echo 'Hello World'; // code block inside notes
</code>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labor
</notes>
==== Header level test ====
Test, if an H3 section following an H1 section is appended horizontally or vertically.
=== Header level test ===
Test, if an H4 section opens a new slide. Should not the case for ''horizontal_slide_level = 2''
---->>
===== Alternative Slide Indicator =====
<code>
---- salmon wiki:dokuwiki-128.png 10% repeat bg-slide ---->
</code>
---- salmon wiki:dokuwiki-128.png 10% repeat bg-slide no-footer ---->
<notes>
This slide has no content, but therefore a fancy background...
</notes>
---->
===== It's cool, isn't it? =====
---- orange bg-zoom ---->
===== Zoom =====
<code>
---- orange bg-zoom ---->
</code>
---->
<sub>This could be a slide without content, not possible in header driven mode...</sub>
---->>
Horizontal
<code>
---->>
Horizontal
</code>
---->>
Horizontal again and stopping special hr driven mode
<code>
---->>
Horizontal again and stopping special hr driven mode
<----
</code>
<----
===== Options (Caching) =====
If you disable the cache for the page, then you are able to change the options direct in the URL.
In case your theme does not match the environment for the presentation you can fix this very fast without editing the page.
===== List =====
For this page/presentation the option ''build_all_lists'' is switched on - the list is therefore shown incremental:
* Unordered list, item one
* Another item
- Ordered sublist
- Another sublist item
* A third item for testing
===== Fragments =====
==== Fragment (inline) ====
<nowiki><fragment>text</fragment></nowiki>
<fragment>Hit the next arrow...</fragment>
<fragment>... to step through ...</fragment>
<fragment>... a</fragment> <fragment>fragmented</fragment> <fragment>slide.</fragment>
==== Fragment (inline) ====
Inline Fragments supporting only formatting and substitutions:
<fragment>
DokuWiki supports **bold**, //italic//, __underlined__ and ''monospaced'' texts.
</fragment>
<fragment>
Of course you can **__//''combine''//__** all these. 8-)
</fragment>
<fragment>
You can use <sub>subscript</sub> and <sup>superscript</sup>, too.
</fragment>
<fragment>
You can mark something as <del>deleted</del> as well.
</fragment>
==== Fragment Block ====
With <nowiki><fragment-block></nowiki> you have more or less no limits:
<fragment-block 2>
<nowiki><fragment-block 2></nowiki>\\
{{:wiki:dokuwiki-128.png?nolink|}}\\
This comes second :-)
</fragment-block>
<fragment-block 1>
<nowiki><fragment-block 1></nowiki>
<code php>
$number = intval($test); //this comes first :-)
</code>
</fragment-block>
==== Fragment List ====
<nowiki><fragment-list></nowiki> overwrites the global option build_all_lists:
<fragment-list>
* List item 1
* List item 2
* List item 3
</fragment-list>
==== No Fragment List ====
<nowiki><no-fragment-list></nowiki> overwrites also the global option build_all_lists:
<no-fragment-list>
* List item 1
* List item 2
* List item 3
</no-fragment-list>
{{no-footer}}
==== Fragment Styles ====
<nowiki><fragment StyleName></nowiki>
<fragment-block grow>grow</fragment-block>
<fragment-block shrink>shrink</fragment-block>
<fragment fade-out>fade-out</fragment>
<fragment-block fade-up>fade-up (also down, left and right!)</fragment-block>
<fragment current-visible>current-visible</fragment>
<fragment highlight-current-red>highlight-current-red (blue, green)</fragment>
Highlight <fragment highlight-red>red</fragment> <fragment highlight-blue>blue</fragment> <fragment highlight-green>green</fragment>
<fragment><sub>Attention: grow, shrink, fade-up/-down/-left/-right</sub>\\
<sup>are only working with <nowiki><fragment-block></nowiki></sup></fragment>
{{background>orange no-footer}}
===== Background Orange =====
<nowiki>{{background>orange}}</nowiki>
{{background>#000000 no-footer}}
===== Background =====
This slide has black background.
{{no-footer}}
===== Quotes =====
This is the original example from the DokuWiki syntax description. For Reveal we suppress the nesting, because the quotes are shown in a different way:
I think we should do it
> No we shouldn't
>> Well, I say we should
> Really?
>> Yes!
>>> Then lets do it!
===== MathJax =====
Inline math: $\int f dx$
Display math
\[
\int f dx
\]
===== Code =====
Inline ''this is code''
==== Python ====
Downloadable Snippet
<code python test.py>
from antigravity import *
for k in range(10):
print(k)
</code>
=== Not Downloadable Snippet ===
<code python>
from antigravity import *
for k in range(10):
print(k)
</code>
==== Bash ====
<code python test.py>
#!/bin/bash
ls -l
echo "hello world"
</code>
==== No Language ====
<code - test.nolanguage>
for k in range(10)
this is nothing
reject this
</code>
==== Double Space Block Code ====
first line
second line
third line
===== Tables =====
==== A Simple Table ====
^ head 1 ^ head 2 ^
| line1 | line 2 |
| line11 | line 22 |
===== Media Alignment =====
==== Align Left ====
{{wiki:dokuwiki-128.png }}
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labor
==== Align Right ====
{{ wiki:dokuwiki-128.png}}
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labor
==== Align Center ====
{{ wiki:dokuwiki-128.png }}
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labor
===== Fonts =====
==== Small Fonts ====
Depends on the [[https://www.dokuwiki.org/plugin:wrap|Wrap Plugin]]
Normal size and <wrap lo>small size</wrap>
normal normal normal
<WRAP lo>
small block small block small block
</WRAP>
==== Small Fonts & Fragments ====
Normal size and <fragment><wrap lo>small size</wrap></fragment>
normal normal normal
<WRAP lo>
small block small block <fragment highlight-red>small block</fragment>
</WRAP>
===== Links =====
Interwiki link [[wiki:maintenance:djvu_support]]
WWW link www.google.de
{{no-footer}}
{{background>:wiki:dokuwiki-128.png orange}}
====== H1 With Background ======
==== Without Background 1 ====
Test, if background is not applied to nested slides
===== Without Background 2 =====
Test, if background is not applied to the next horizontal slide