1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 02:20:03 +08:00
SpaceVim/docs/layers/lang/asciidoc.md

38 lines
995 B
Markdown
Raw Normal View History

2018-09-21 21:15:35 +08:00
---
title: "SpaceVim lang#asciidoc layer"
2021-06-21 20:39:29 +08:00
description: "Edit AsciiDoc within vim, autopreview AsciiDoc in the default browser, with this layer you can also format AsciiDoc files."
2018-09-21 21:15:35 +08:00
---
# [Available Layers](../../) >> lang#asciidoc
2020-09-06 21:56:12 +08:00
![asciidoc](https://user-images.githubusercontent.com/13142418/92319337-7554ec00-f049-11ea-90fb-ad663dceea12.png)
2018-09-21 21:15:35 +08:00
<!-- vim-markdown-toc GFM -->
- [Description](#description)
- [Install](#install)
2020-09-06 21:56:12 +08:00
- [Key bindings](#key-bindings)
2018-09-21 21:15:35 +08:00
<!-- vim-markdown-toc -->
## Description
2021-06-21 20:39:29 +08:00
This layer is for editing AsciiDoc files. Including syntax highlighting, indent and syntax lint.
2018-09-21 21:15:35 +08:00
## Install
2021-06-21 20:39:29 +08:00
To use this configuration layer, update your custom configuration file with:
2018-09-21 21:15:35 +08:00
```toml
[[layers]]
name = "lang#asciidoc"
```
2020-09-06 21:56:12 +08:00
`ctags` is required, if users want to view the syntax outline.
## Key bindings
| Key bindings | Description |
| ------------ | ------------------------------------- |
| `F2` | Open outline of current asciidoc file |