Linking files into folders #23768
-
Hello, I am fairly new to GitHub, and I am trying to link a file into my index.html folder, such that there will be a way to access my README.md file from a link on my index page. Can someone please walk me through the steps of how to accomplish this? If someone could, that would be great. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi, @JosephGallagher2001! Before I can answer your question about creating links, it’s important to clarify some details about how GitHub Pages publishes files, particularly An important detail about
|
Beta Was this translation helpful? Give feedback.
-
i have a certain issue that i cant seem to fix right now i have link on my index page that i puloaded but when i try to open the link not only does it not start with https but start with file/// i cant even open the link |
Beta Was this translation helpful? Give feedback.
Hi, @JosephGallagher2001!
Before I can answer your question about creating links, it’s important to clarify some details about how GitHub Pages publishes files, particularly
README.md
andindex.html
.An important detail about
README.md
andindex.html
When you publish a repository as a GitHub Pages site, the GitHub Pages build process converts Markdown files to HTML, for viewing on the web. These converted files aren’t stored in your repository, as they only exist as part of your published website. Any HTML files in your repository are not converted. Instead, they are published exactly as-is.
For example, if you had a Markdown file in your repository named
about.md
, GitHub Pages would con…