Notice: Homepage for this extension is at GitHub Starting from 32.0.0 release, all path settings require absolute paths.
This extension provides rich reStructuredText language support for Visual Studio Code. Now you write reStructuredText scripts using the excellent IDE-like interface that VS Code provides. With live preview enabled, final look-and-feel is just one click away.
-
Syntax highlighting
-
Code snippets
codeCode blockimageImagefigureFigurelinkLinkattentionAttentionnoteNotewarningWarningerrorErrorhintHintimportantImportantcautionCautiondangerDangertipTipadmonitionAdmonitionrubricRubric (footnote)docDoc referencerefLabel referencelabelLabeldownloadDownloadfileFilekbdKeyboard Shortcut
To trigger snippets, please refer to Visual Studio Code shortcuts.
-
Live Preview (Experimental, and Sphinx must be configured in advanced)
The shortcuts are
ctrl+shift+rPreviewctrl+k rPreview to Side
Notice: The preview feature requires Python to be installed. The
sphinxPython module is also required. Check out the steps to configure sphinx.
- Linter (Experimental, and restructuredtext-lint must be configured in advanced)
Notice: The linter feature requires
restructuredtext-lintPython module. Check out the steps to configure sphinx. Due to the facts thatrestructuredtext-lintdoes not support all Sphinx directives, there can be many false positives in its ouput.
This extension is hosted at Visual Studio Marketplace
- Upgrade to Visual Studio Code 1.3.0 or above.
- Switch to the Extensions view by clicking the fifth icon in the left most bar.
- Type "restructuredtext" in the search box and hit Enter key.
- Click "Install" button to install "reStructuredText" extension.
Check out the development documentation for more details on how to contribute to this extension!
Check the dashboard on work items.
This extension is licensed under the MIT License. Please see the [third-party notices](Third Party Notices.txt) file for details on the third-party files that we include with releases of this project.
The project logo comes from Legendora Icon by Teekatas Suwannakrua.
The linter support is based on Cody Hoover's ruby-linter.
The initial idea was brought from Thomas Haakon Townsend's ReStructured Text Previewer, but soon after moving fully to Sphinx, this extension becomes its own beast.
