Releases: trond-snekvik/vscode-rst
Releases · trond-snekvik/vscode-rst
Deeply nested blocks and options lists
- 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
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
- 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
Highlight tweaks
- 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
- 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
- Changes the reStructuredText language identifier to
restructuredtext
- Removes
*
from autoclosing pairs - Disables the symbol provider if the LeXtudio extension is installed
Sphinx domains
- Adds support for Sphinx domains.
- The following directives will now get language specific syntax highlighting:
.. cpp:xyz::
.. c:xyz::
.. py:xyz::
.. js:xyz::
- The following directives will now get language specific syntax highlighting:
- 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.
- Prevents VS Code from suggesting autocompletions for
- Support for all markup inside non-literal directives.
- Minor fixes to detection for comments, inline markup and directive indentation.
Autoclosing braces and workspace trust
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
Fixes some glitches in inline markup, as described in https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html.
Initial release
v1.0.0 Initial commit