Asciidoc layer
Table of ContentsClose
1. Description
This layer adds AsciiDoc markup language support to Spacemacs.
1.1. Features:
- asciidoc format support via adoc-mode
.adocfiles are associated withadoc-modeby default
2. Install
To use this configuration layer, add it to your ~/.spacemacs. You will need to
add asciidoc to the existing dotspacemacs-configuration-layers list in this
file.
3. Key bindings
3.1. Element insertion
| Key binding | Description |
|---|---|
SPC m h 1 |
Insert title level 1 |
SPC m h I |
Insert title level 1 (the most important one) |
SPC m h 2 |
Insert title level 2 |
SPC m h i |
Insert title level 2 (the most usual one) |
SPC m h 3 |
Insert title level 3 |
SPC m h 4 |
Insert title level 4 |
SPC m h 5 |
Insert title level 5 |
SPC m h 5 |
Insert title level 5 |
SPC m x b |
Boldface selected |
SPC m x i |
Italicize selected |
3.2. Promotion, Demotion
| Key binding | Description |
|---|---|
M-h |
Promote title level |
M-l |
Demote title level |