source: rtems-source-builder/source-builder/sb/asciidoc/doc/slidy-example.txt @ 0464153

4.104.114.95
Last change on this file since 0464153 was 0464153, checked in by Chris Johns <chrisj@…>, on 03/03/13 at 04:58:11

Change asciidoc to the 8.6.4 release package because Windows was broken.

  • Property mode set to 100644
File size: 3.9 KB
Line 
1Slidy 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
11This preamble will appear on a separate slide.
12
13
14AsciiDoc Elements
15-----------------
16Sagittis in vestibulum. Habitasse ante nulla enim bibendum nulla. Odio
17sed pede litora.
18
19[float]
20=== Titles inside delimited blocks must be floated
21Porta nisl metus. Justo porttitor vel. Cras consequat tincidunt id sed
22conubia. Feugiat felis justo. Nunc amet nulla. Eu ac orci mollis.
23
24.Tiger
25image::images/tiger.png[]
26
27
28Incremental Elements
29--------------------
30The remaining elements on this page are incremental, press the space
31bar 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--
41Sagittis in vestibulum. Habitasse ante nulla enim bibendum nulla. Odio
42sed 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
52Outline Elements
53----------------
54The following list is a Slidy 'outline' list -- nested bulleted or
55numbered lists are expanded when the enclosing list item (the ones
56with 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+
66NOTE: 'Note' admonition paragraph.
67
68  * Volutpat tristique nec.
69+
70image::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
84AsciiDoc Elements
85-----------------
86NOTE: 'Note' admonition paragraph.
87
88IMPORTANT: 'Important' admonition paragraph.
89
90.Sidebar
91*********************************************************************
92Faucibus sagittis commodo sed et eu. Quam nullam ornare. Sed vel est.
93Mauris urna lobortis interdum placerat per id magnis enim.
94*********************************************************************
95
96
97AsciiDoc Elements
98-----------------
99A quote block:
100
101[quote, Bertrand Russell, The World of Mathematics (1956)]
102____________________________________________________________________
103A good notation has subtlety and suggestiveness which at times makes
104it almost seem like a live teacher.
105____________________________________________________________________
106
107A verse block:
108
109[verse, William Blake, from Auguries of Innocence]
110__________________________________________________
111To see a world in a grain of sand,
112And a heaven in a wild flower,
113Hold infinity in the palm of your hand,
114And eternity in an hour.
115__________________________________________________
116
117
118AsciiDoc 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 |
126Worked out MSHR (max sustainable heart rate) by going hard
127for this interval.
128
129|22-Aug-08 |23:03 | 152 |
130Back-to-back with previous interval.
131
132|24-Aug-08 |40:00 | 145 |
133Moderately hard interspersed with 3x 3min intervals (2min
134hard + 1min really hard taking the HR up to 160).
135
136|=========================================================
137
138
139Filters
140-------
141[source,python]
142.Python source
143---------------------------------------------------------------------
144''' A multi-line
145    comment.'''
146def 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---------------------------------------------------------------------
Note: See TracBrowser for help on using the repository browser.