Can README.md link to files in the project?


#1

I haven’t been able to figure out how to get a Markdown link in my project’s README.md to link to a particular file in the project (esi.sh). The project is https://glitch.com/edit/#!/esi-js-doc


#2

You can try this url: https://glitch.com/edit/#!/esi-js-doc?path=esi.sh


#3

Yep, as kinduff points out it’s possible. As you click around your project in the editor you’ll note the URL in your browser updates with the file you’re looking at and the line number too. So you can copy and paste that in to your markdown link.


#4

Thanks! Some part of how I was doing that made the page reload continuously, but this example worked.