Skip to content

can an annotation provide a link to a webpage? #1807

Closed Answered by carsakiller
speedwaystar asked this question in Q&A
Discussion options

You must be logged in to vote

---[View documents](command:extension.lua.doc?["en-us/51/manual.html/pdf-math.acos"]) executes a VS Code command that then launches a webview that shows the locally stored documentation.

It does not allow for anyone to link to documentation that lives elsewhere. This is a good thing though as it could open some serious security holes.

In your case, it would be best to just do a simple markdown link that will open the user's browser:
---[View Documentation](https://wowpedia.fandom.com/wiki/API_GetSpellInfo)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by carsakiller
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants