Content entered directly below the header but before the first section heading is called the preamble.
This is a paragraph of regular text.
This is a paragraph with a bold word and an italicized word. Bold italic is also possible.
Words can also have internal bold and italic formatting.
Some constrained monospace text
, and some u
nconstrained m
onospace t
ext.
Some Superscript® text and some subscript text: H2O.
The text at the end of this sentence is cross referenced to the third level heading
This is a link to the Asciidoctor User Manual.
This is an attribute reference {quick-uri}[which links this text to the Asciidoctor Quick Reference Guide^].
copyright: ©
registered trademark: ®
trademark: ™
em dash (between words): —
ellipses: …
arrows: → ⇒ ← ⇐
apostrophe: Sam’s
XML entity (e.g., dagger): †
Find the area under the graph of \$y = x^2\$ between \$x= 1\$ and \$x = 2\$.
\[ \int_1^2 x^2 dx = \left[ \frac{x^3}{3} \right]_1^2 = \frac{2^3}{3} - \frac{1^3}{3} = \frac{7}{3} \]
This is another paragraph.[1]
list item 1
nested list item
nested nested list item 1
nested nested list item 2
list item 2
ordered list item
nested ordered list item
ordered list item
second level list item
third level list item
another third level list item
a final third level list item
another second level list item
You can override the number scheme for any level by setting its style (the first positional entry in a block attribute list). You can also set the starting number using the start attribute:
Five
Six
a
b
c
Seven
Here’s an example of a labeled list that identifies parts of a computer:
The brain of the computer.
Permanent storage for operating system and/or user files.
Temporarily stores information the CPU uses during operation.
Used to enter text or control items on the screen.
Used to point to and select items on your computer screen.
Displays information in visual form using text and graphics.
CPU |
The brain of the computer. |
Hard drive |
Permanent storage for operating system and/or user files. |
RAM |
Temporarily stores information the CPU uses during operation. |
Milk
Eggs
Bread
Bananas
Linux
Fedora
Ubuntu
Slackware
BSD
FreeBSD
NetBSD
Here’s a list that mixes all three types of lists:
Linux
Fedora
Ubuntu
Slackware
BSD
FreeBSD
NetBSD
PaaS
OpenShift
CloudBees
IaaS
Amazon EC2
Rackspace
Content in an example block is subject to normal substitutions.
Content in a listing block is subject to verbatim substitutions. Listing block content is commonly used to preserve code input.
Column heading 1 | Column heading 2 |
---|---|
Column 1, row 1 |
Column 2, row 1 |
Column 1, row 2 |
Column 2, row 2 |
This is a block quote or a prose excerpt. This is subject to normal substitutions.
This is a verse block. Indents and endlines are preserved in verse blocks.
This is a tip. There are five admonition labels: Tip, Note, Important, Caution and Warning. |
This is a note. |
This is important. |
Caution — be careful! |
This is a warning. |
A "NOTE" type admonition
This is an example of an admonition block. Unlike an admonition paragraph, it may contain any AsciiDoc content. The style can be any one of the admonition labels:
|
Valid inputs are highlighted with a tick and invalid inputs are highlighted with a cross. Check it out!
text
number
email
url
password
Lorem ipsum
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.