Fork me on GitHub


A community-driven vim distribution

Home | About | Documentation | Development | Community | Sponsors

SpaceVim Layers: lang#markdown


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.


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



How to indent the content from list items (tab, mixed or 1 , default: 1).


Enable/Disable wcwidth for detecting the length of a table cell, default is 0. To enable this option, you need to install wcwidth


Bullet marker to use for list items ('-', '*', or '+', default: '-').

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

Hosted on GitHub, Help improve this page — Theme by mattgraham,