githubmarkdownjekylljekyll-bootstrap

Jekyll-bootstrap how does mark down for external links work?


I am currently writing this in my post.md

Intro to [links](http://jekyllrb.com/docs/permalinks/)

Then when I am clicking this link once the post has been published the link I am sent to is:

http://example.github.io/post-name/jekyllrb.com/docs/permalinks/

Can anyone help?


Solution

  • This is a gotcha. I had recently migrated from from Maruku to kramdown, which handles urls differently. You need to define [setid]: http://www.example.com (don't forget the http://)

    Then use [setid] in place of the link.