= Document Title
:Author: Your Name
:Date: 2024-01-01
Document body starts here.
A quick reference guide to AsciiDoc syntax, covering fundamental elements for document creation and formatting with Asciidoctor.
= Document Title Document body starts here. |
= Article Title |
[preamble] |
= Level 1 Heading |
Each |
Paragraphs |
Separate paragraphs with a blank line. |
Line Breaks |
End a line with Example: |
Emphasis |
For italics or emphasis. |
Strong |
For bold or strong emphasis. |
|
For |
|
For |
[quote, Attribution, Source] Block quote text here. |
[cite, id] |
Use |
Superscript |
Renders text as superscript. |
Subscript |
Renders text as subscript. |
|
Use |
. Item 1 |
Use |
Term:: Description of the term. |
Use |
[cols=“1,1,2”] |
Define columns with |
https://example.com link:https://example.com[Example] |
Use |
image::image.png[alt text] image::images/diagram.png[Diagram, 300, 200] |
Use |
include::chapter1.adoc[] include::attributes.adoc[leveloffset=+1] |
Use |
[source, ruby]puts “Hello, world!”[listing]This is a listing block. |
Use |