-
Notifications
You must be signed in to change notification settings - Fork 29.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for internal links in previewHtml #3676
Comments
It looks great and I'm impressed...Also hoping I'm posting this in the right place. |
I like |
strech for April - fyi @seanmcbreen |
Tasks
|
@tomi This is now implemented but be aware of how it works: In your case you have a virtual document that contains a link to another virtual document. Since the link only becomes a link when rendered via the Therefore we have added support for command-links, like so If your links reads like |
Cool, thanks for implementing this! It fits my needs well. |
Hi,
At the moment the virtual documents created by TextDocumentContentProvider can contain links to external resources, but I would expect it to work with links that use the same scheme that was registered with registerTextDocumentContentProvider. Here's an example to show what I mean:
When I click the link Page 2 I would expect the provideTextDocumentContent callback to be called with the URI specified in the link.
The text was updated successfully, but these errors were encountered: