Provides syntax higlighting for reStructuredText for Notepad++ through a user defined language file.
Switch branches/tags
Nothing to show

readme.rst

reStructuredText_NPP - reStructuredText basic syntax highlighting for Notepad++

Author: Steen Hulthin Rasmussen <opensource@percipio.dk>
Date: 2017-09-24
Description:reStructuredText_NPP is a User Defined Language for Notepad++ that provides basic syntax highlighting for reStructuredText.
License:reStructuredText_NPP is licensed under The MIT License (see http://opensource.org/licenses/mit-license.php or the license.txt file)

Install

  1. Make sure you have Notepad++ installed with the option to use %APPDATA% (which is the default).
  2. Download and unzip the zipped reStructuredText.xml from the (new) download site (This is the only file you need in order to use reStructuredText_NPP.)
  3. Start Notepad++ and open the "Define your language..." (Under the "Language" tab)

https://github.com/steenhulthin/reStructuredText_NPP/raw/master/documentation/select_user-defined_dialogue.png

  1. Click "import" and select the unzipped reStructuredText.xml file.

https://github.com/steenhulthin/reStructuredText_NPP/raw/master/documentation/import_user_define_language.png

  1. Restart Notepad++
  2. Open .rst file and you should now have syntax highlighting.

Features

reStructuredText_NPP provides basic syntax highlighting. reStructuredText_NPP is not a full lexer for reStructuredText and does not highlight all elements of reStructuredText markup specification (correctly).

Highlighted element:

  • tables
  • directives
  • Bullet lists
  • Enumerated Lists
  • Field Lists (works, with exception field with space characters)
  • Line Blocks (Only the | [pipe] characters is highlighted)
  • Transitions
  • Footnotes
  • Citations
  • Hyperlinks (with a few exceptions)
  • Substitution