Markdown is awesome but it's annoying how you can't include embed tags, especially gists. Well you can actually, you just need to include a custom plugin and use the custom gist tag. Here is how:

  1. Download and add this gist_tag.rb to your _plugins dir
  2. Now in your markdown, you just need to include the costom tag to embed a gist like:

{% gist 6706249 %}

If you experience any issues, you might want to ensure your using Redcarpet as your markdown engine:

  1. Install the redcarpet gem: $ [sudo] gem install redcarpet
  2. Configure Jekyll to use redcarpet with extensions - edit _config.yml

blog comments powered by Disqus
· By: