This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+lang/asciidoc/README.org

45 lines
1.7 KiB
Org Mode
Raw Normal View History

#+TITLE: Asciidoc layer
2018-09-19 03:54:47 +00:00
* Table of Contents :TOC_4_gh:noexport:
2017-05-22 14:16:12 +00:00
- [[#description][Description]]
- [[#features][Features:]]
2017-05-22 14:16:12 +00:00
- [[#install][Install]]
- [[#key-bindings][Key bindings]]
- [[#element-insertion][Element insertion]]
- [[#promotion-demotion][Promotion, Demotion]]
* Description
This layer adds [[https://asciidoctor.org][AsciiDoc]] markup language support to Spacemacs.
** Features:
- asciidoc format support via [[https://github.com/sensorflo/adoc-mode][adoc-mode]]
- =.adoc= files are associated with =adoc-mode= by default
* 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.
* Key bindings
** 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 |
** Promotion, Demotion
| Key binding | Description |
|-------------+---------------------|
| ~M-h~ | Promote title level |
2016-04-25 10:13:59 +00:00
| ~M-l~ | Demote title level |