summaryrefslogtreecommitdiffstats
path: root/t/fmt/asciidoc/StrictDelimitedBlocks.adoc
blob: 2810232bc5a477897d7d73413336ce61f0bb9019 (plain)
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
//po4a: style[,caption]
Test Delimited Blocks
=====================

Predefined Delimited Blocks
---------------------------

CommentBlock

//////////////////////////
This is a Comment block.
This is a Comment block.

  This is a Comment block.
  This is a Comment block.

  - This is a Comment block.
    This is a Comment block.
//////////////////////////

PassthroughBlock

++++++++++++++++++++++++++
This is a Passthrough block.
This is a Passthrough block.

  This is a Passthrough block.
  This is a Passthrough block.

  - This is a Passthrough block.
    This is a Passthrough block.
++++++++++++++++++++++++++

ListingBlock

--------------------------
This is a Listing block.
This is a Listing block.

  This is a Listing block.
  This is a Listing block.

  - This is a Listing block.
    This is a Listing block.
--------------------------

LiteralBlock

..........................
This is a Literal block.
This is a Literal block.

  This is a Literal block.
  This is a Literal block.

  - This is a Literal block.
    This is a Literal block.
..........................

SidebarBlock

**************************
This is a Sidebar block.
This is a Sidebar block.

  This is a Sidebar block.
  This is a Sidebar block.

  - This is a Sidebar block.
    This is a Sidebar block.
**************************

QuoteBlock

__________________________
This is a Quote block.
This is a Quote block.

  This is a Quote block.
  This is a Quote block.

  - This is a Quote block.
    This is 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.
____________________________________________________________________

[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.
__________________________________________________

ExampleBlock

==========================
This is a Example block.
This is a Example block.

  This is a Example block.
  This is a Example block.

  - This is a Example block.
    This is a Example block.
==========================

.An example
=====================================================================
Qui in magna commodo, est labitur dolorum an. Est ne magna primis
adolescens.
=====================================================================

[caption="Example 1: "]
.An example with a custom caption
=====================================================================
Qui in magna commodo, est labitur dolorum an. Est ne magna primis
adolescens.
=====================================================================

[NOTE]
.A NOTE block
=====================================================================
Qui in magna commodo, est labitur dolorum an. Est ne magna primis
adolescens.

. Fusce euismod commodo velit.
. Vivamus fringilla mi eu lacus.
  .. Fusce euismod commodo velit.
  .. Vivamus fringilla mi eu lacus.
. Donec eget arcu bibendum
  nunc consequat lobortis.
=====================================================================

Filter blocks

~~~~~~~~~~~~~~~~~~~~~~~~~~
This is a Filter block.
This is a Filter block.

  This is a Filter block.
  This is a Filter block.

  - This is a Filter block.
    This is a Filter block.
~~~~~~~~~~~~~~~~~~~~~~~~~~



//////////////////////////
test

--------------------------
Listing inside Comment
--------------------------

end of test
//////////////////////////

++++++++++++++++++++++++++
test

--------------------------
Listing inside Passthrough
--------------------------

end of test
++++++++++++++++++++++++++

--------------------------
test

__________________________
QuoteBlock inside Listing
__________________________

end of test
--------------------------

----
test

-------------------------------
Listing inside a Listing
-------------------------------

end of test
----