This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 647
Asterisk seems to be treated specially in documentation preview #1486
Comments
Thanks for reporting! |
This issue was moved to microsoft/vscode#42353 |
Reopening as the upstream issue was closed |
segevfiner
added a commit
to segevfiner/vscode-go
that referenced
this issue
Jan 12, 2019
segevfiner
added a commit
to segevfiner/vscode-go
that referenced
this issue
Jan 12, 2019
segevfiner
added a commit
to segevfiner/vscode-go
that referenced
this issue
Jan 12, 2019
7 tasks
segevfiner
added a commit
to segevfiner/vscode-go
that referenced
this issue
Jan 13, 2019
segevfiner
added a commit
to segevfiner/vscode-go
that referenced
this issue
Jan 13, 2019
segevfiner
added a commit
to segevfiner/vscode-go
that referenced
this issue
Jan 13, 2019
segevfiner
added a commit
to segevfiner/vscode-go
that referenced
this issue
Jan 15, 2019
segevfiner
added a commit
to segevfiner/vscode-go
that referenced
this issue
Jan 21, 2019
segevfiner
added a commit
to segevfiner/vscode-go
that referenced
this issue
Jan 24, 2019
segevfiner
added a commit
to segevfiner/vscode-go
that referenced
this issue
Feb 7, 2019
vladbarosan
pushed a commit
to segevfiner/vscode-go
that referenced
this issue
Mar 21, 2019
vladbarosan
pushed a commit
to segevfiner/vscode-go
that referenced
this issue
Mar 22, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Documentation preview requires an asterisk to be escaped, while
godoc
does not require the escaping. This is a pretty minor issue but I'd expect vscode-go to behave as close togodoc
as possible.Actual behavior
This comment:
is rendered like so:
Notice that the * is missing between "".
Expected behavior
godoc -http
renders it like so:I'd expect this to be correct, though I haven't read godoc spec.
Workaround
You can escape the * in the comment (
\*
), like so:Then it appears to be rendered as expected:
Version info
vscode-go 0.6.73
VSCode version info (OS: Windows 10):
The text was updated successfully, but these errors were encountered: