1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-03-15 19:45:46 +08:00
SpaceVim/docs/layers/lang/markdown.md
2017-08-31 23:03:25 +00:00

1006 B

title
SpaceVim lang#markdown layer

SpaceVim Layers: lang#markdown

Description

This layer is for editing markdown file.

Layer Installation

To use this configuration layer, add call SpaceVim#layers#load('lang#markdown') to your custom configuration file.

formatting

SpaceVim use remark to formatting markdown file, so you need to install this program. you can install it via npm:

npm -g install remark
npm -g install remark-cli
npm -g install remark-stringify

Key bindings

Key mode description
SPC b f Normal Format current buffer
SPC l ft Normal Format table under cursor
SPC l p Normal Real-time markdown preview