How to read your AsciiDoc preview
The preview shows how your AsciiDoc will look once Asciidoctor formats it. AsciiDoc is a markup language for technical documents, books, and manuals. As you type on the left, the formatted version updates on the right. Your AsciiDoc text is not changed.
| What you type | What the preview shows |
|---|---|
= Speed Guide |
Speed Guide (document title) |
== Step 1 |
Step 1 (section heading) |
*Fast* and _simple_ |
Fast and simple |
`npm install` |
npm install (inline code) |
|
|
|
|
https://w3speedup.com[W3SpeedUp] |
W3SpeedUp |
NOTE: Clear the cache first. |
Note
Clear the cache first. |
|
(code block) |
How AsciiDoc differs from Markdown
- Headings use
=, not#. One=is the document title, and==is a section. - Bold uses one star on each side,
*bold*, and italic uses underscores,_italic_. - Numbered lists use a dot,
. item, and AsciiDoc numbers them for you. - Links put the text in square brackets after the URL.
- Admonitions such as
NOTE:,TIP:, andWARNING:create highlighted boxes.
Good and bad results
- Good: headings, lists, links, notes, and code blocks look the way you expect.
- Bad: a heading shows as
==Step 1. Add a space after the=signs. - Bad: a list or block joins the paragraph above it. Add a blank line before it.
- Bad: a code block swallows the rest of the page. The closing
----is missing, or has a different number of dashes from the opening line. - Check:
include::lines that pull in other files will not work here, because the preview cannot read your files. They will work in your full build.
What to do next
- Fix any line that does not look right in the preview.
- Copy your AsciiDoc into your
.adocfile. - Build it with Asciidoctor, for example
asciidoctor guide.adocfor HTML, orasciidoctor-pdf guide.adocfor PDF. - To write in another format, use our Markdown Live Preview or reStructuredText Live Preview.

