spacemacs/layers/+lang/restructuredtext
2018-10-11 00:13:43 +03:00
..
img
local restrucutredtext: rename deprecated extensions folder to local 2017-02-02 14:37:19 -05:00
packages.el restructuredtext: remove rst-sphinx init block, sphinx-layer owns it 2018-06-14 00:30:46 -04:00
README.org Reformat documentation 2018-10-11 00:13:43 +03:00

reStructuredText layer

/TakeV/spacemacs/media/commit/c2a351cac762c7ac6f182853ab696600c83a416d/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.