Skip to content

Releases: trond-snekvik/vscode-rst

Deeply nested blocks and options lists

17 Sep 12:02
Compare
Choose a tag to compare
  • Deeply nested blocks are now rendered correctly
  • Options list regex no longer causes catastrophic backtracking
  • Angle brackets and aliases have been fixed in the options list

Fixes #37
Fixes #40

Thanks to @asottile for contributing a fix for options lists.
Thanks to @chen19901225 and @asottile for reporting issues.
Thanks to @lextm for contributions to issue tracking.

Comments and headings fixes

16 Apr 10:00
Compare
Choose a tag to compare
  • Empty top level directives no longer break the header indexer
  • Block comments without a space after the .. are no longer recognized.
  • Empty comments don't cause indented text to be highlighted as comments

Fixes #24
Fixes #25
Fixes #31
Fixes #32

Thanks to @lextm, @ssbarnea and @Xeverous for contributions to issue tracking.
Thanks to @alcarney for contributing a test suite.
Thanks to @sgryjp for fixing the empty top level directories.

Code directive fixes

26 Feb 14:25
Compare
Choose a tag to compare
  • Fixes C++ code-block directive not being detected
  • Recognize code directive.

Fixes #27
Fixes #28

Thanks to @R1dO for reports and fixes.

Highlight tweaks

20 Nov 13:28
Compare
Choose a tag to compare
  • Removes ` and | from bracket types, preventing the bracket pair colorizer from breaking
  • Only highlight numbers if they're not part of a larger word
  • Highlight doctest blocks as python code

Highlighting accuracy improvements

06 Sep 18:22
Compare
Choose a tag to compare
  • Adds ^, :, ", _ and ' to the list of characters that are recognized as headers
  • Checking LeXtudio's extension version before disabling symbol provider
  • Fix issues with directives ending too early
  • Use more commonly available symbols for directives, block parameters and inline monospace strings

Compatibility with LeXtudio's extension

29 Aug 12:57
Compare
Choose a tag to compare
  • Changes the reStructuredText language identifier to restructuredtext
  • Removes * from autoclosing pairs
  • Disables the symbol provider if the LeXtudio extension is installed

Sphinx domains

11 Aug 20:25
Compare
Choose a tag to compare
  • Adds support for Sphinx domains.
    • The following directives will now get language specific syntax highlighting:
      • .. cpp:xyz::
      • .. c:xyz::
      • .. py:xyz::
      • .. js:xyz::
  • Removed auto indent when jumping from a *** based heading underline
  • Now requiring at least one letter, number or underscore for VS Code to consider a chunk of text a word
    • Prevents VS Code from suggesting autocompletions for --- heading underlines.
  • Support for all markup inside non-literal directives.
  • Minor fixes to detection for comments, inline markup and directive indentation.

Autoclosing braces and workspace trust

17 Jul 11:26
Compare
Choose a tag to compare

Fixes unwanted injection of backticks and |, and marks the extension as safe for untrusted workspaces.

Thanks to @brettcannon for suggesting these improvements!

Fix inline markup

11 Jul 16:48
Compare
Choose a tag to compare

Fixes some glitches in inline markup, as described in https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html.

Initial release

20 Mar 14:26
Compare
Choose a tag to compare
v1.0.0

Initial commit