[reST] refactor#4212
Conversation
b40f0f7 to
8817eaf
Compare
72e437b to
ae329e0
Compare
This comment was marked as resolved.
This comment was marked as resolved.
843a5bc to
0607aca
Compare
ebfb8c4 to
c34db53
Compare
6bfcc32 to
5d0438e
Compare
This comment was marked as resolved.
This comment was marked as resolved.
|
@jrappen More syntax bugs:
|
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
495a44a to
31d4eb3
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
|
Also as a reminder, the https://sphinx-themes.org/sample-sites/furo/kitchen-sink/ web page has several sub-pages that by clicking the "eye" icon, you can get to the You're also welcome to use the docs at LVGL User Documentation for some production-quality |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
|
Excluded |
|
Added requested custom window commands. |
This comment was marked as resolved.
This comment was marked as resolved.
|
Hi, @jrappen ! I finally got around to putting this branch in my
|
|
Hi @jrappen. In my own override of the RsT syntax I'm using this: # class directive
- match: '^(\s*)((\.\.)\s+class(::))\s+(?:\w+\.)*(\w+)'
captures:
2: meta.other.directive.restructuredtext
3: punctuation.definition.directive.restructuredtext
4: punctuation.separator.key-value.restructuredtext
5: entity.name.class.restructuredtext
push:
- match: '^(?!\1\s+)(?=\s*\S+)'
pop: true
- include: inline
# method directive
- match: '^(\s*)((\.\.)\s+method(::))\s+(?:\w+\.)*(\w+)'
captures:
2: meta.other.directive.restructuredtext
3: punctuation.definition.directive.restructuredtext
4: punctuation.separator.key-value.restructuredtext
5: entity.name.function.restructuredtext
push:
- match: '^(?!\1\s+)(?=\s*\S+)'
pop: true
- include: inline
# function directive
- match: '^(\s*)((\.\.)\s+function(::))\s+(?:\w+\.)*(\w+)'
captures:
2: meta.other.directive.restructuredtext
3: punctuation.definition.directive.restructuredtext
4: punctuation.separator.key-value.restructuredtext
5: entity.name.function.restructuredtext
push:
- match: '^(?!\1\s+)(?=\s*\S+)'
pop: true
- include: inline
# data directive
- match: '^(\s*)((\.\.)\s+data(::))\s+(?:\w+\.)*(\w+)'
captures:
2: meta.other.directive.restructuredtext
3: punctuation.definition.directive.restructuredtext
4: punctuation.separator.key-value.restructuredtext
5: entity.name.constant.restructuredtext
push:
- match: '^(?!\1\s+)(?=\s*\S+)'
pop: true
- include: inline
# attribute directive
- match: '^(\s*)((\.\.)\s+attribute(::))\s+(?:\w+\.)*(\w+)'
captures:
2: meta.other.directive.restructuredtext
3: punctuation.definition.directive.restructuredtext
4: punctuation.separator.key-value.restructuredtext
5: entity.name.attribute.restructuredtext
push:
- match: '^(?!\1\s+)(?=\s*\S+)'
pop: true
- include: inlineWith this I can highlight all the functions / methods / classes / attributes / CONSTANTs.
But most importantly, with this I can navigate the symbols of the .rst doc ( Do you think you can integrate it into your work? |
|
Appreciate the feedback, will take another look later tonight. |




Note
should be fixed, leave a comment below.
Additions:
mapping.pairwhile checking value formattargets (sections, footnotes, citations)
jsonc, html, python, toml, yaml), compare [reStructuredText] Code-blocks are not handled #3158
targets
interpreted text, optionallywith roles
lines
Fixes:
...as comments[RestructuredText] single quotes break link targets #1204
Changes:
section headings and their punctuation
scope naming guide
punctuation.definition.endrules for inline itemsbefore
invalid.illegal.newlinecompare [reST] Internal link labels should allow more character types #793
auto_complete_selectordefaultdirective names
BREAKING CHANGES:
py3.13and Sublime Text v4201+References:
syntax don't get lost
Thanks to these contributors: