.md to .html conversion does not seem to work properly

Ok, this is my github md file in repo:

https://github.com/flemmingss/flemmingss.github.io/blob/master/tutorials/deluge-on-ubuntu-server.md

when displayed in github it all works.

But when i show it in “pages” some of the formating are not displayed.

https://flemmingss.github.io/tutorials/deluge-on-ubuntu-server.html

As you se, instad of converting to html it display the markup taggs like normal content.

How can i fix this? I want it to show correct both in the repositorie and page.

I’ve submitted a Pull Request with some changes I recommend.

The reason for the differences in rendering is because github.com uses CommonMark for its Markdown rendering whereas GitHub Pages uses Jekyll and Kramdown for its Markdown rendering. Because the two components use different rendering engines, there are differences in interpretation of Markdown documents. However, incorporating the changes I suggested in the PR above should take care of those problems for you.

I hope that helps!

1 Like

A post was split to a new topic: Rendering of a specific page doesn’t seem to work?