Skip to content
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

Support literals in the markdown link fragments #228085

Closed
gmccullo opened this issue Sep 10, 2024 · 1 comment · Fixed by microsoft/vscode-markdown-languageservice#195
Closed
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug markdown Markdown support issues

Comments

@gmccullo
Copy link

You can make links with unescaped paths using angle brackets. So for example this:

[foobar](<some path/target.md>)

rather than this:

[foobar](some%20path/target.md)

But it would be nice to also be able to unescape fragments. So for example this:

[foorbar](<some path/target.md#some header>)

rather than this:

[foorbar](some%20path/target.md#some%20header)

This is not currently supported. I have been unable to find this specifically called out in the commonmark spec, but at least some md editors/readers support (e.g., Obsidian).

@mjbvz mjbvz added feature-request Request for new features or functionality markdown Markdown support issues labels Sep 10, 2024
@mjbvz
Copy link
Collaborator

mjbvz commented Sep 10, 2024

Seems to work on common mark so I'd say we should support it

@mjbvz mjbvz added bug Issue identified by VS Code Team member as probable bug and removed feature-request Request for new features or functionality labels Sep 10, 2024
mjbvz added a commit to mjbvz/vscode-markdown-languageservice that referenced this issue Oct 29, 2024
mjbvz added a commit to mjbvz/vscode-markdown-languageservice that referenced this issue Oct 29, 2024
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Dec 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug markdown Markdown support issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants