AsciiDoc Quick Reference Guide
AsciiDoc is a plain text markup language designed for creating technical content. AsciiDoc is feature rich with semantic elements and built to be modular with content reusability. AsciiDoc can be read as is or converted in to multiple formats including html, pdf, e-books, man pages, slide presentation and many more.
The Eclipse Foundation maintains the AsciiDoc project. The full AssciiDoc Specification is found here
Text Formatting
*constrained*
**un**constrained
_constrained_
__un__constrained
*_constrained_*
**__un__**constrained
Monospace`constrained`
``un``constrained
Monospace Bold`constrained`
``**un**``constrained
Monospace Italic`_constrained_`
``__un__``constrained
Monospace Bold Italic`*_constrained_*`
``**__un__**``constrained
[.underline]#Underlined#
[.line-through]#Strike-Through#
#constrained#
##Un##constrained
^Super^Script
~sub~Script
Section Titles and Levels
= Document Title - Level 0
== Section Title - Level 1
=== Section Title - Level 2
==== Section Title - Level 3
===== Section Title - Level 4
====== Section Title - Level 5
== Section Title - Level 1
Paragraph
Create a paragraph by leaving a blank line between the text.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
Lists
Ordered Lists
. One
. Two
.. Two a
. Three
.. Three a
... Three a i
.. Three b
. Four
-
One
-
Two
-
Two a
-
-
Three
-
Three a
-
Three a i
-
-
Three b
-
-
Four
Unordered Lists
* Point 1
** sub Point 1
* Point 2
** sub Point 2
*** sub sub Point 2
* Point 3
-
Point 1
-
sub Point 1
-
-
Point 2
-
sub Point 2
-
sub sub Point 2
-
-
-
Point 3
Description Lists
Item 1:: Offset text
Item 1A::: Offest text
[horizontal]
Item 2:: Inline text
Item 2a::: Offset text
Item 2ai:::: Offset text
Item 2b::: offset text
Item 3:: Inline text
- Item 1
-
Offset text
- Item 1A
-
Offset text
| Item 2 |
Inline text
|
| Item 3 |
Inline text |
Links
Web
https://documentation.cafe - Documentation Cafe
https://documentation.cafe[Documentation Cafe]
https://documentation.cafe[info@documentation.cafe]
https://documentation.cafe - Documentation Cafe
Video
video::local-video-file.mp4[]
video::loccal-video-file.mp4[width=640,start=60,opts=autoplay]
video::jfKfPfyJRdk[youtube]
video::jfKfPfyJRdk[vinmeo]
Relative
link:markdown.adoc[Markdown Guide]
xref:../../drinks/pages/frech-press.adoc[French Press Recipe]
Inline Anchors
[[bookmark-a]]Inline anchors make arbitrary content referenceable.
[#bookmark-b]#Inline anchors can be applied to a phrase like this one.#
anchor:bookmark-c[]Use a cross reference to link to this location.
[[bookmark-d,last paragraph]]The xref label attribute will be used as link text in the cross-reference link.
Inline anchors can be applied to a phrase such as this one.
Internal Reference to Sections & Anchors
Go to the <<Lists>> section to learn more about lists
To more about <<Text Formating, formating here>>
Link to <<bookmark-a, bookmark-a>> anchor
Go to the Lists section to learn more about lists
To learn more about formatting here
Link to bookmark-a anchor
Include Text from another File
include::../examples/include.adoc[]
include::../examples/include-with-tags.adoc[tags=tagName]
This is text from another file
This is text from another file by using tags
Code Block
[source,javascript]
----
var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World!');
}).listen(8080);
----
var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World!');
}).listen(8080);
Tables
.Table1 Title
|===
|Column 1 |Column 2 |Column 3
|Cell,Column1,Row1 |Cell,Column3,Row1 |Cell,Column3,Row1
|Cell,Column1,Row2 |Cell,Column3,Row2 |Cell,Column3,Row2
|Cell,Column1,Row3 |Cell,Column3,Row3 |
|===
.Table2 Title
|===
|Column 1 |Column 2 |Column 3
|Cell,Column1,Row1
|Cell,Column3,Row1
|Cell,Column3,Row1
|Cell,Column1,Row2
|Cell,Column3,Row2
|
|===
Column 1 |
Column 2 |
Column 3 |
Cell,Column1,Row1 |
Cell,Column3,Row1 |
Cell,Column3,Row1 |
Cell,Column1,Row2 |
Cell,Column3,Row2 |
Cell,Column3,Row2 |
Cell,Column1,Row3 |
Cell,Column3,Row3 |
Column 1 |
Column 2 |
Column 3 |
Cell,Column1,Row1 |
Cell,Column3,Row1 |
Cell,Column3,Row1 |
Cell,Column1,Row2 |
Cell,Column3,Row2 |
Admonitions
NOTE: Please note these notes
TIP: Turning it off and on does fix a lot of issues
IMPORTANT: Don't forget to brush your teeth
WARNING: Watch out for jackalopes
CAUTION: Danger Will Robinson!
| Please note these notes |
| Turning it off and on does fix many issues |
| Don’t forget to brush your teeth |
| Watch out for jackalopes |
| Danger Will Robinson! |
[WARNING]
.Quicksand
====
As we learned as childeren quicksand can be lurking around every corner!
====
|
Quicksand Warning
As we learned as children quicksand can be lurking around every corner! |
Table of Contents
= AsciiDoc Quick Reference Guide
:toc:
= AsciiDoc Quick Reference Guide
= AsciiDoc Quick Reference Guide
:toc: left