1

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?

TheComeOnMan
  • 12,535
  • 8
  • 39
  • 54
  • Delete the `.md` extension from your GitHub Pages link (or change it to `.html`) and see what happens. – jwodder Dec 25 '18 at 02:52
  • 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 Dec 25 '18 at 03:31
  • Just realised that renaming from .md to .html made the text and the table work but the images don't show up. – TheComeOnMan Dec 25 '18 at 03:41
  • Might be related to this - https://help.github.com/articles/files-that-start-with-an-underscore-are-missing/ Checking. – TheComeOnMan Dec 25 '18 at 03:52

2 Answers2

1

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

Ha. Huynh
  • 1,772
  • 11
  • 27
0

In my case, this was the problem. https://help.github.com/articles/files-that-start-with-an-underscore-are-missing/

TheComeOnMan
  • 12,535
  • 8
  • 39
  • 54