Passthrough attributes
*lorum ipsum*
<b>*lorum ipsum*</b>
Author attributes
{eval:expression}, {sys:command} and {sys2:command}, {counter:c1}
Hello Joe Bloggs (Joe Bloggs, JB).
first name or last name or surname.
first name and last name.
System attributes
1 99 A
1 = 1, 99 = 99, A = A
2 100 B 2 100 B
2 = 2, 100 = 100, B = B
y: Foobar
3, 7
3, 3
Quoted text attributes
A=X, (X), X, [X] X
A=X, (_X_), X, [X] X X
[*X*] +X+
fun with text. . fun with text. fun with text. fun with text. “fun with text”. ‘fun with text’.
fun with text.
fun with text.
Obvious and very obvious.
Underline text, overline text and line-through text.
Testing 123 …
(“+1\n+”) if (usually “+-1\n+”)
(“1\n”) if (usually “-1\n”)
(‘Joe Bloggs’) and ‘Joe Bloggs’
Configuration attribute entries
term
|
definition |
- term
-
definition
role attribute
Paragraph with a role attribute.
-
first
-
second
-
third
Break list nesting
-
List 1.
-
List 1.
-
List 2.
-
List 2.
Listing Blocks
$ ls -al
[subs="quotes"] ------------------------------------------ $ ls *-al* ------------------------------------------
$ ls -al
$ ls -al
if n < 0: print 'Hello World!'
if n < 0: print 'Hello World!'
if n < 0: print 'Hello World!'
Links
[X1]; captioned link to this test case.
[X2] link to inline anchor; captioned link to inline anchor.
Link to [X3] anchor.
An example link to a bibliography entry [Test::Unit].
Titles
Level 4
Level 3
Level 2
Level 1
Level 4
Level 3
Level 2
Level 1
Lorum ipsum.
Lists
Bulleted:
-
item text
-
item text
-
item text
-
item text
-
item text
-
item text
-
-
-
-
-
Numbered:
-
arabic (decimal) numbering
-
loweralpha numbering
-
upperalpha numbering
-
lowerroman numbering
-
upperroman numbering
-
arabic (decimal) numbering
-
loweralpha numbering
-
lowerroman numbering
-
upperalpha numbering
-
upperroman numbering
-
-
-
-
-
-
-
-
-
Labeled:
- label
-
item text
- label
-
item text
- label
-
item text
- label
-
item text
With item anchor:
Inline passthroughs
-
Test `ABC`.
-
Test ABC.
-
The ++i and ++j auto-increments.
-
Paths ~/.vim and ~/docs.
-
The __init__ method.
-
The {id} attribute.
List start number test:
-
List item 7.
-
List item 8.
Images
Block images



![]() |
Lorum ipsum. |
Inline images
Inline image
Inline image
Inline image
Admonishments
Note
|
Lorum ipsum. |
Tip
|
Lorum ipsum. |
Warning
|
Lorum ipsum. |
Caution
|
Lorum ipsum. |
Important
|
Lorum ipsum. |
![]() |
Lorum ipsum. |
![]() |
Lorum ipsum. |
![]() |
Lorum ipsum. |
![]() |
Lorum ipsum. |
![]() |
Lorum ipsum. |
Backslash escapes
Don’t vs don't.
There are a number of exceptions to the usual single backslash rule — mostly relating to URL macros that have two syntaxes or quoting ambiguity. Here are some non-standard escape examples:
AsciiDoc | Renders |
---|---|
\joe.bloggs@example.com <\joe.bloggs@example.com> \mailto:[\joe.bloggs@example.com] |
joe.bloggs@example.com
<joe.bloggs@example.com>
mailto:[joe.bloggs@example.com] |
\http://www.example.com \\http://www.example.com[] \\http://www.example.com[Foobar Limited] |
http://www.example.com
http://www.example.com[]
http://www.example.com[Foobar Limited] |
A C\++ Library for C++ \\``double-quotes'' \*\*F**ile Open\... |
A C++ Library for C++
``double-quotes''
**F**ile Open... |
Paragraphs
This is a bold a line This is a strong line This is another strong line
This is a *bold* a line This is a 'strong' line This is another _strong_ line
This is a bold a line This is a strong line This is another strong line
This is a *bold* a line This is a 'strong' line This is another _strong_ line
This is a bold a line This is a strong line This is another strong line
This is a bold a line This is a strong line This is another strong line
This is a bold line
This is a strong line
This is another strong line
This is a bold a line
This is a strong line
This is another strong line
This is a bold a line This is a strong line This is another strong line
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.
— William Blake
— Bertrand Russell
URLs
Mail Addresses
joe.bloggs@mail.server.com
lorum ipsum.
Comments
Qui in magna commodo, est labitur dolorum an. Est ne magna primis. adolescens. Sit munere ponderum dignissim et. Minim luptatum et.
This comment line will be displayed in the output.
Qui in magna commodo, est labitur dolorum an. Est ne magna primis.
Visible inline comment line.
adolescens. Sit munere ponderum dignissim et. Minim luptatum et.
Lorum ipsum.
Lorum ipsum.
Index Terms
Test 1 test1.
Test 2 .
Test 3 .
Test 4 .
Test 5 test5.
Test 6 .
Test 7 .
Test 8 .
Multi-passthough substitution (see http://groups.google.com/group/asciidoc/browse_frm/thread/1269dc2feb1a482c) foo
Table with fractional column width units
Note
|
pagewidth and pageunits only apply to DocBook outputs. |
Date | Duration | Avg HR | Notes |
---|---|---|---|
22-Aug-08 |
10:24 |
157 |
Worked out MSHR (max sustainable heart rate) by going hard for this interval. |
22-Aug-08 |
23:03 |
152 |
Back-to-back with previous interval. |
24-Aug-08 |
40:00 |
145 |
Moderately hard interspersed with 3x 3min intervals (2min hard + 1min really hard taking the HR up to 160). |
Table with parent configuration file and header attribute entry
|
Table column specifiers with merged cells
1- A |
2- B |
||
i- a |
ii- b |
||
Values 1 |
v1 |
v2 |
v3 |
Values 2 |
v4 |
v5 |
v6 |
Floating tables and images
1 |
2 |
A |
3 |
4 |
B |
5 |
6 |
C |

Section level offsets
At level 1
Section title
At level 2
Section title
At level 2
Section title
At level 3
Section level offsets
At level 1
Single-quoted attributes
Sir, a woman’s preaching is like a dog’s walking on his hind legs. It is not done well; but you are surprised to find it done at all.
Sir, a woman’s preaching is like a dog’s walking on his hind legs. It is not done well; but you are surprised to find it done at all.
Footnotes
Qui in magna commodo, est labitur dolorum an. Est ne magna primis
adolescens. Sit munere ponderum dignissim et. Minim luptatum et vel.
[footnote one.
Qui in magna commodo, est labitur dolorum an. Est ne magna primis
adolescens. Sit munere ponderum dignissim et. Minim luptatum et vel.
Qui in magna commodo, est labitur dolorum an. Est ne magna primis
adolescens. Sit munere ponderum dignissim et. Minim luptatum et vel.]
Qui in magna commodo, est labitur dolorum an. Est ne magna primis
adolescens. Sit munere ponderum dignissim et. Minim luptatum et vel.
[footnote two. Qui in magna commodo, est labitur dolorum an. Est ne magna primis adolescens. Sit munere ponderum dignissim et. Minim luptatum et vel.]
Qui in magna commodo, est labitur dolorum an. Est ne magna primis
adolescens. Sit munere ponderum dignissim et. Minim luptatum et vel
[F2]
.
Qui in magna commodo, est labitur dolorum an. Est ne magna primis
adolescens. Sit munere ponderum dignissim et. Minim luptatum et vel.
[https://asciidoc.org/ Qui in magna commodo,
est labitur dolorum an. Est ne magna primis adolescens. Sit munere
ponderum dignissim et. Minim luptatum et vel
]
Qui in magna commodo, est labitur dolorum an. Est ne magna primis
adolescens. Sit munere ponderum dignissim et. Minim luptatum et vel.
[https://asciidoc.org/]
Qui in magna commodo, est labitur dolorum an. Est ne magna primis
adolescens. Sit munere ponderum dignissim et. Minim luptatum et
vel
[AsciiDoc website.]
.
Qui in magna commodo, est labitur dolorum an. Est ne magna primis
adolescens. Sit munere ponderum dignissim et. Minim luptatum et
[A footnote, "with an image" ]
.
[With [square brackets]]
Qui in magna commodo, est labitur
dolorum an. Est ne magna primis.
Rulers and page breaks
Lorum ipsum…
Lorum ipsum…
Lorum ipsum…
这是一个测试
Double-with character titles. link to auto-generated section ID.
HTML 5 audio and video block macros
Block macros
RS458 is 2.
Template line 1. Template line 2.
àn îd without accénts
Lorum ipsum…
àn îd with accénts
Lorum ipsum…