-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
Allow configuring a base uri for MarkdownString #142051
Labels
Milestone
Comments
mjbvz
added a commit
that referenced
this issue
Feb 3, 2022
mjbvz
added a commit
that referenced
this issue
Feb 3, 2022
The alternative today is that extensions have to parse the markdown and transform the uris themselves. This is difficult to get correct |
@dbaeumer is this something that should be in the LSP spec (for servers to set), or the client (assuming they should be relative to the document the request relates to)? |
@DanTup I think we should do the following:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Feature request
Allow configuring a base uri that is used when rendering the contents of a
MarkdownString
. This uri would be used when resolving relative paths that appear as links or image links within the markdown stringExample use case
When rendered,
link
andimg
should both resolve to files next to the currently active fileRelated issues
The text was updated successfully, but these errors were encountered: