![]() ![]() If you look at the raw source of the README.md of Markdown itself(!), relative paths don't seem to be supported.Īs noted in InvisibleWolf's answer, if the target link is a directory and it has space, then you need to use %20 for each space. We tried adding a tag for this, but it causes problems with other relative links on the site. The GitHub markup issue 84 is currently closed by technoweenie, with the comment: I’ve created the repository and double checked to make sure that an index.html file exists with the correct documentation, but when I open my page, I still get the 404 error (index.html file doesn’t seem to be working). target/some.war Deploy a zip az webapp deployment config-zip some-tomcat-test. This also means your documentation can now easily stand on its own, without always pointing to GitHub.Īlso useful: When the link starts with a /, it is relative to the root of the repository (regardless of whether the markdown file is nested in subdirectories) An example command of this would be: Deploy a war az webapp deployment config-zip some-tomcat-test. If you were using a workaround like (repo/blob/master/other_file.md), you'll have to update your documentation to use the new syntax. (path%20with%20spaces/other_file.md)Īnd we'll make sure it gets linked to user/repo/blob/branch/other_file.md. Any 404.html at the root of your site directory will be served automatically by GitHub Pages and the local WEBrick development server. …you can use a relative link: (other_file.md) You want examples of link definitions and how they work? Here's some Markdown for you. Now you can link directly between different documentation files, whether you view the documentation on GitHub itself, or locally, using a different markup renderer. Starting today, GitHub supports relative links in markup files. Update 30th, January 2013, 16 months later: GitHub Blog Post Relative links in markup files: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |