An open API service indexing awesome lists of open source software.

https://github.com/orbitalquark/textadept-rest

reStructuredText module for Textadept
https://github.com/orbitalquark/textadept-rest

restructuredtext textadept textadept-module

Last synced: about 1 month ago
JSON representation

reStructuredText module for Textadept

Awesome Lists containing this project

README

        

# 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.

[Docutils]: http://docutils.sourceforge.net/

## 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.

---