microsoft / microsoft/vscode-markdown-languageservice
UX not supporting creation of link text in square brackets [] in markdown with spaces in pathname
Open
@mjbvz is already working on this.
Since Apr 9, 2025.
feature-request
- Dominant language
- TypeScript
- Stars
- 438
- Forks
- 25
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 1
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.99.1
- OS Version: wsl2
Steps to Reproduce:
- create a markdown file
- create a folder and some file with spaces in it
cd /tmp
touch readme.md
mkdir -p 'assets/folder 1'
mkdir -p 'assets/folder 2'
touch 'assets/folder '{1,2}'/a file.txt'
ls -R assets
code readme.md
when using the std markdown feature
not really possible to hit the folder\s2 as you can see
# hello
try to do this with less pain
[some txt link](./assets/folder%202/a%20file.txt)
not sure if I type
%20would work as workround in vbscode to continue the matching ...
this was simple example to reproduce
in my case I have loads of folders, this is more realisitically a problem to me, so I created this issue.
ex
thanks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.