~didrocks/+junk/face-detection-15.04

« back to all changes in this revision

Viewing changes to facedetection/www/bower_components/prism/tests/languages/asciidoc/macro_feature.test

  • Committer: Didier Roche
  • Date: 2016-05-10 23:09:11 UTC
  • Revision ID: didier.roche@canonical.com-20160510230911-c7xr490zrj3yrzxd
New version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
footnote:[An example footnote.]
 
2
indexterm:[Tigers,Big cats]
 
3
 
 
4
http://www.docbook.org/[DocBook.org]
 
5
include::chapt1.txt[tabsize=2]
 
6
mailto:srackham@gmail.com[]
 
7
 
 
8
image:screen-thumbnail.png[height=32,link="screen.png"]
 
9
 
 
10
== Foo image:foo.jpg[] ==
 
11
 
 
12
--
 
13
footnote:[An example footnote.]
 
14
indexterm:[Tigers,Big cats]
 
15
 
 
16
http://www.docbook.org/[DocBook.org]
 
17
include::chapt1.txt[tabsize=2]
 
18
mailto:srackham@gmail.com[]
 
19
 
 
20
image:screen-thumbnail.png[height=32,link="screen.png"]
 
21
--
 
22
 
 
23
|====
 
24
|
 
25
footnote:[An example footnote.]
 
26
indexterm:[Tigers,Big cats]
 
27
 
 
28
http://www.docbook.org/[DocBook.org]
 
29
include::chapt1.txt[tabsize=2]
 
30
mailto:srackham@gmail.com[]
 
31
 
 
32
image:screen-thumbnail.png[height=32,link="screen.png"]
 
33
|====
 
34
 
 
35
----------------------------------------------------
 
36
 
 
37
[
 
38
        ["macro", [
 
39
                ["function", "footnote"], ["punctuation", ":"],
 
40
                ["attributes", [
 
41
                        ["punctuation", "["],
 
42
                        ["attr-value", "An example footnote."],
 
43
                        ["punctuation", "]"]
 
44
                ]]
 
45
        ]],
 
46
        ["macro", [
 
47
                ["function", "indexterm"], ["punctuation", ":"],
 
48
                ["attributes", [
 
49
                        ["punctuation", "["],
 
50
                        ["attr-value", "Tigers"],
 
51
                        ["punctuation", ","],
 
52
                        ["attr-value", "Big cats"],
 
53
                        ["punctuation", "]"]
 
54
                ]]
 
55
        ]],
 
56
        ["macro", [
 
57
                ["function", "http"], ["punctuation", ":"],
 
58
                "//www.docbook.org/",
 
59
                ["attributes", [
 
60
                        ["punctuation", "["],
 
61
                        ["attr-value", "DocBook.org"],
 
62
                        ["punctuation", "]"]
 
63
                ]]
 
64
        ]],
 
65
        ["macro", [
 
66
                ["function", "include"], ["punctuation", "::"],
 
67
                "chapt1.txt",
 
68
                ["attributes", [
 
69
                        ["punctuation", "["],
 
70
                        ["variable", "tabsize"],
 
71
                        ["operator", "="],
 
72
                        ["attr-value", "2"],
 
73
                        ["punctuation", "]"]
 
74
                ]]
 
75
        ]],
 
76
        ["macro", [
 
77
                ["function", "mailto"], ["punctuation", ":"],
 
78
                "srackham@gmail.com",
 
79
                ["attributes", [
 
80
                        ["punctuation", "["], ["punctuation", "]"]
 
81
                ]]
 
82
        ]],
 
83
        ["macro", [
 
84
                ["function", "image"], ["punctuation", ":"],
 
85
                "screen-thumbnail.png",
 
86
                ["attributes", [
 
87
                        ["punctuation", "["],
 
88
                        ["variable", "height"],
 
89
                        ["operator", "="],
 
90
                        ["attr-value", "32"],
 
91
                        ["punctuation", ","],
 
92
                        ["variable", "link"],
 
93
                        ["operator", "="],
 
94
                        ["string", "\"screen.png\""],
 
95
                        ["punctuation", "]"]
 
96
                ]]
 
97
        ]],
 
98
 
 
99
        ["title", [
 
100
                ["punctuation", "=="],
 
101
                " Foo ",
 
102
                ["macro", [
 
103
                        ["function", "image"], ["punctuation", ":"],
 
104
                        "foo.jpg",
 
105
                        ["attributes", [
 
106
                                ["punctuation", "["], ["punctuation", "]"]
 
107
                        ]]
 
108
                ]],
 
109
                ["punctuation", "=="]
 
110
        ]],
 
111
 
 
112
        ["other-block", [
 
113
                ["punctuation", "--"],
 
114
 
 
115
                ["macro", [
 
116
                        ["function", "footnote"], ["punctuation", ":"],
 
117
                        ["attributes", [
 
118
                                ["punctuation", "["],
 
119
                                ["attr-value", "An example footnote."],
 
120
                                ["punctuation", "]"]
 
121
                        ]]
 
122
                ]],
 
123
                ["macro", [
 
124
                        ["function", "indexterm"], ["punctuation", ":"],
 
125
                        ["attributes", [
 
126
                                ["punctuation", "["],
 
127
                                ["attr-value", "Tigers"],
 
128
                                ["punctuation", ","],
 
129
                                ["attr-value", "Big cats"],
 
130
                                ["punctuation", "]"]
 
131
                        ]]
 
132
                ]],
 
133
                ["macro", [
 
134
                        ["function", "http"], ["punctuation", ":"],
 
135
                        "//www.docbook.org/",
 
136
                        ["attributes", [
 
137
                                ["punctuation", "["],
 
138
                                ["attr-value", "DocBook.org"],
 
139
                                ["punctuation", "]"]
 
140
                        ]]
 
141
                ]],
 
142
                ["macro", [
 
143
                        ["function", "include"], ["punctuation", "::"],
 
144
                        "chapt1.txt",
 
145
                        ["attributes", [
 
146
                                ["punctuation", "["],
 
147
                                ["variable", "tabsize"],
 
148
                                ["operator", "="],
 
149
                                ["attr-value", "2"],
 
150
                                ["punctuation", "]"]
 
151
                        ]]
 
152
                ]],
 
153
                ["macro", [
 
154
                        ["function", "mailto"], ["punctuation", ":"],
 
155
                        "srackham@gmail.com",
 
156
                        ["attributes", [
 
157
                                ["punctuation", "["], ["punctuation", "]"]
 
158
                        ]]
 
159
                ]],
 
160
                ["macro", [
 
161
                        ["function", "image"], ["punctuation", ":"],
 
162
                        "screen-thumbnail.png",
 
163
                        ["attributes", [
 
164
                                ["punctuation", "["],
 
165
                                ["variable", "height"],
 
166
                                ["operator", "="],
 
167
                                ["attr-value", "32"],
 
168
                                ["punctuation", ","],
 
169
                                ["variable", "link"],
 
170
                                ["operator", "="],
 
171
                                ["string", "\"screen.png\""],
 
172
                                ["punctuation", "]"]
 
173
                        ]]
 
174
                ]],
 
175
 
 
176
                ["punctuation", "--"]
 
177
        ]],
 
178
 
 
179
        ["table", [
 
180
                ["punctuation", "|===="],
 
181
                ["punctuation", "|"],
 
182
 
 
183
                ["macro", [
 
184
                        ["function", "footnote"], ["punctuation", ":"],
 
185
                        ["attributes", [
 
186
                                ["punctuation", "["],
 
187
                                ["attr-value", "An example footnote."],
 
188
                                ["punctuation", "]"]
 
189
                        ]]
 
190
                ]],
 
191
                ["macro", [
 
192
                        ["function", "indexterm"], ["punctuation", ":"],
 
193
                        ["attributes", [
 
194
                                ["punctuation", "["],
 
195
                                ["attr-value", "Tigers"],
 
196
                                ["punctuation", ","],
 
197
                                ["attr-value", "Big cats"],
 
198
                                ["punctuation", "]"]
 
199
                        ]]
 
200
                ]],
 
201
                ["macro", [
 
202
                        ["function", "http"], ["punctuation", ":"],
 
203
                        "//www.docbook.org/",
 
204
                        ["attributes", [
 
205
                                ["punctuation", "["],
 
206
                                ["attr-value", "DocBook.org"],
 
207
                                ["punctuation", "]"]
 
208
                        ]]
 
209
                ]],
 
210
                ["macro", [
 
211
                        ["function", "include"], ["punctuation", "::"],
 
212
                        "chapt1.txt",
 
213
                        ["attributes", [
 
214
                                ["punctuation", "["],
 
215
                                ["variable", "tabsize"],
 
216
                                ["operator", "="],
 
217
                                ["attr-value", "2"],
 
218
                                ["punctuation", "]"]
 
219
                        ]]
 
220
                ]],
 
221
                ["macro", [
 
222
                        ["function", "mailto"], ["punctuation", ":"],
 
223
                        "srackham@gmail.com",
 
224
                        ["attributes", [
 
225
                                ["punctuation", "["], ["punctuation", "]"]
 
226
                        ]]
 
227
                ]],
 
228
                ["macro", [
 
229
                        ["function", "image"], ["punctuation", ":"],
 
230
                        "screen-thumbnail.png",
 
231
                        ["attributes", [
 
232
                                ["punctuation", "["],
 
233
                                ["variable", "height"],
 
234
                                ["operator", "="],
 
235
                                ["attr-value", "32"],
 
236
                                ["punctuation", ","],
 
237
                                ["variable", "link"],
 
238
                                ["operator", "="],
 
239
                                ["string", "\"screen.png\""],
 
240
                                ["punctuation", "]"]
 
241
                        ]]
 
242
                ]],
 
243
 
 
244
                ["punctuation", "|===="]
 
245
        ]]
 
246
]
 
247
 
 
248
----------------------------------------------------
 
249
 
 
250
Checks for macros.
 
 
b'\\ No newline at end of file'