Abstract
This is a cheatsheet for AsciiDoc - “Text based document generation” script. The cheatsheet available for different AsciiDoc versions (because of some markup syntax changes) and using different css styles. Here is list with all available cheatsheets for different AsciiDoc version and using different css styles.
This cheatsheet is for AsciiDoc 8.2.7, using my compact css.
Document header (REQUIRED)
Main Header
===========
Optional Author Name <optional@author.email>
Optional version, optional date
:Author: AlternativeWayToSetOptional Author Name
:Email: <AlternativeWayToSetOptional@author.email>
:Date: AlternativeWayToSetOptional date
:Revision: AlternativeWayToSetOptional version
Attributes
There a lot of predefined attributes in AsciiDoc, plus you can add your own. To get attribute value use {attributename} syntax.
|
Author is Alex Efros |
|
Version is 2.1.1 |
|
Line deleted |
|
My is my value |
|
Escaped: {qwe} and {qwe} |
Headers
|
Level 1Level 2Level 3Level 4 |
|
Level 1Level 2Level 3Level 4 |