pages-gem
pages-gem copied to clipboard
Linking to markdown without using [link](link.html)
Before submitting an issue, please be sure to
- [ X] Read the contributing instructions
- [X ] Update to the latest Gem version (either
gem update github-pages
orbundle update github-pages
)
This issue affects
- [ X] The site generated by GitHub Pages
- [ ] Building sites locally
What did you do (e.g., steps to reproduce)
I linked another markdown file as so => link
This, however, goes to a 404 on GitHub Pages and only works if I write the link as so => link
What did you expect to happen?
for the following link => link to actually go to a rendered markdown file (and not plain text)
What happened instead?
The following link format => link goes to a 404
Additional information
I have scoured the internet with help on this to not avail. I thought the 'jekyll-relative-links' plugin was supposed to achieve this but either I misunderstood the purpose of said plugin or I am using it wrong (even though I followed the instructions on said repo)
@AsixJin As I mentioned in https://github.com/benbalter/jekyll-relative-links/issues/21#issuecomment-298372603 since this doesn't affect local builds, contacting GitHub support would be the fastest route to getting your issue resolved.
@AsixJin Are your MD files inside a collection? A public repo (if it exists or you can create it) could be useful.
It cost me half day to find the bug: if the link text include []
char, it will not be processed.
For example: [test](test.md)
will be transformed correctly, but [[test]](test.md)
or [\[test\]](test.md)
won't.
This example :) Its works pakar seo jasa seo kursus seo online kursus adsense online
I also have the problem with relative links to a specific file not working at all both on gh-pages and on jekyll locally. Here is my setup->
i have a directory like this:
/
README.md
README.ja.md
and I do a link like [english](README.md)
and [japanese](README.ja.md)
both links work on github.com (where they render the README below the code directory structure), but DO NOT work on gh-pages. I tested jekyll locally and it also DOES NOT work. If I move the directory structure around like
/
README.md
japanese/
..README.md
this will work... the link has to change to .[japanese](./japanese/)
I can also make this work on the original directory structure at the top if I do links like this->
[japanese](README.ja) (no more .md)
but then it will NOT work on the normal github.com b/c its not a valid link (since the file README.ja does not exist)
Not sure others are clearly stating the problem
Amazing