spacemacs/layers/+lang/restructuredtext
2017-07-03 09:54:53 +02:00
..
img Rename ReST layer to restructuredtext and clean up layer 2017-02-02 09:37:34 -05:00
local restrucutredtext: rename deprecated extensions folder to local 2017-02-02 14:37:19 -05:00
packages.el Rename :depends to :requires 2017-07-03 09:54:53 +02:00
README.org update docs to the new toc-org format 2017-05-22 18:35:37 +03:00

reStructuredText layer

/TakeV/spacemacs/media/commit/f4b53d2a4fca644d35699734a7f856bc105a6467/layers/+lang/restructuredtext/img/restructuredtext.png

Description

The layer adds ReStructuredText (ReST) support to Spacemacs and adds some functions to rst-mode.

Note: to add Sphinx specific support use the layer sphinx.

Features

  • rst files are supported via Emacs built-in rst.el.
  • Lists are inserted by new functions.
  • Directives can be inserted easily.
  • auto-completion for directives and options via auto-complete-rst.
  • snippet support via yasnippet.

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add restructuredtext to the existing dotspacemacs-configuration-layers list in this file.

Configuration

Auto-complete

For now auto-complete-rst only works with sphinx 1.4.9 and lower. New 1.5 release (as from December 2016) is not yet supported.