Skip to content
This repository was archived by the owner on Sep 28, 2024. It is now read-only.

Latest commit

 

History

History
42 lines (25 loc) · 1.04 KB

README.md

File metadata and controls

42 lines (25 loc) · 1.04 KB

reST

The reST module for Textadept. It provides utilities for editing reST and Sphinx documents.

WARNING: this module is deprecated. It may not work in Textadept 12.0.

Key Bindings

  • Ctrl+Alt+J (^⌘J | M-S-J) Jump to the selected section.
  • Shift+Enter (⇧↩ | S-Enter) Open the image specified by the directive on the current line.

Fields defined by _M.rest

_M.rest.DOCUTILS_PATH (string)

The absolute path to the directory that contains the Python Docutils library if it is not in the environment's PYTHONPATH. The default value is nil, which indicates Docutils is installed.

Functions defined by _M.rest

_M.rest.goto_section()

Prompts the user to select a section title to jump to. Requires the entire document to be styled.

_M.rest.open_image()

Opens the image specified in an "image" or "figure" directive on the current line.