You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+26-3
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,30 @@ This extension is only compatible with the default VS Code [Python](https://mark
18
18
19
19
## Release Notes
20
20
21
-
### 0.2.0
21
+
### v0.3.0
22
+
23
+
#### Changes
24
+
25
+
- Multi-word tag values (such as `:param int y:`) are now permitted. This is used by Sphinx autodoc to include the argument type in a single line:
26
+
27
+
```py
28
+
deffoo(x, y):
29
+
"""
30
+
:param int x: Argument with autodoc shorthand
31
+
32
+
:param y: Argument with separate type tag
33
+
:type y: int
34
+
"""
35
+
...
36
+
```
37
+
38
+
Both variants are correct and highlighted when using this extension.
39
+
40
+
#### Bug fixes
41
+
42
+
- Single character tag values (such as`:param x:`) are now recognized as tags
43
+
44
+
### v0.2.0
22
45
23
46
#### Changes
24
47
@@ -28,14 +51,14 @@ This extension is only compatible with the default VS Code [Python](https://mark
28
51
29
52
- The closing colon of a Sphinx tag will now be correctly scoped as`punctuation.definition.interpreted.sphinx` ([#8](https://github.com/leonhard-s/python-sphinx-highlighter/issues/8))
30
53
31
-
### 0.1.1
54
+
### v0.1.1
32
55
33
56
#### Bug fixes
34
57
35
58
- Parameters ending in numbers will now be highlighted properly ([#4](https://github.com/leonhard-s/python-sphinx-highlighter/issues/4))
36
59
- Fixed parameters using wildcard notation (`*args`, `**kwargs`) not being recognized as sphinx tags ([#4](https://github.com/leonhard-s/python-sphinx-highlighter/issues/4))
37
60
- Inline formatting will no longer be applied when the control characters are surrounded by whitespace ([#5](https://github.com/leonhard-s/python-sphinx-highlighter/issues/5))
0 commit comments