Skip to content

UX not supporting creation of link text in square brackets [] in markdown with spaces in pathname #205

Description

@obar1

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.99.1
  • OS Version: wsl2

Steps to Reproduce:

  1. create a markdown file
  2. 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

Image

# hello
try to  do  this with less pain

[some txt link](./assets/folder%202/a%20file.txt)

not sure if I type %20 would 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
Image

thanks

Metadata

Metadata

Labels

feature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions