1
votes

This markdown document renders fine on Github but doesn't render on Github pages. I'm unable to understand why.

Github: https://github.com/thecomeonman/MCI-2016-17-To-2017-18/blob/master/010_Formations/010_Formations.md

Github pages: https://thecomeonman.github.io/MCI-2016-17-To-2017-18/010_Formations/010_Formations.md

https://blog.github.com/2016-12-09-publishing-with-github-pages-now-as-easy-as-1-2-3/ seems to indicate that this should work without having to do anything else.

Thanks for your help!

This seems out of date: Can I use a Markdown file in a GitHub page?

2
Delete the .md extension from your GitHub Pages link (or change it to .html) and see what happens. - jwodder
Just changing the URL didn't work. I renamed the file from .md to .html and that worked. Removing the extension altogether didn't work. - TheComeOnMan
Just realised that renaming from .md to .html made the text and the table work but the images don't show up. - TheComeOnMan
Might be related to this - help.github.com/articles/… Checking. - TheComeOnMan

2 Answers

1
votes

You can add Jekyll and it will work. We have multiple themes are available for your github page here