AsciiDoc is a lightweight markup language that can be used to write documentation, articles, books, and more. Here’s a cheat sheet with AsciiDoc syntax and formatting:
Headings
= Level 1 Heading
== Level 2 Heading
=== Level 3 Heading
Paragraphs
This is a paragraph.
Another paragraph.
[NOTE]
====
This is a note or block.
====
Lists
* Item 1
* Item 2
** Subitem 1
** Subitem 2
Links
link:http://example.com[Link Text]
link:mailto:[email protected][Email Link]
Images
image::image.jpg[Alt Text]
Code Blocks
[source,language]
----
// Your code here
----
Tables
|===
| Header 1 | Header 2
| Cell 1 | Cell 2
| Cell 3 | Cell 4
|===
Bold and Italics
*italic* or _italic_
**bold** or __bold__
Quotes
[quote, Author]
____
This is a quote.
____
Line Breaks
This is a line
break.
Horizontal Rule
''''
Special Character
\*escaped\*
Admonitions
[NOTE]
====
This is a note.
====
Footnotes
Here is a footnote.footnote:[This is the footnote text.]
Escaping Characters
\`backticks\` are escaped.
This cheat sheet covers some of the basic syntax and formatting options in AsciiDoc. For more detailed information and advanced features, you can refer to the AsciiDoc official documentation.