Link for filenames with spaces

Issue #23 new
Vince Varga created an issue

Let's say I have a README.md and I'd like to create a link to a file that contains spaces in its name, file with spaces.md. I'd like to be able to jump to the file's source code.

/
 - README.md
 - file with spaces.md

After inspecting the element in the browser, I figured out what the href should be (changed it manually, then clicking on it brought me to the page I want to reach):

<a href="username/repository/src/c0mm1th4sH/filename%20with%20%spaces.md">

Unfortunately I couldn't accomplish that with markdown. Some of the things I have tried so far:

[1 filename with spaces](filename with spaces.md)
[2 filename with spaces](filename%20with%20spaces.md)
[3 filename with spaces]("filename with spaces.md")
[4 filename with spaces]("filename%20with%20spaces.md")
[5 filename with spaces](filename\ with\ spaces.md)

Comments (0)

  1. Log in to comment