Use 'GithubMarkdown' as your input format to capture github-flavored markdown code blocks.
Thomas Leitner, Matt Parker
gem "gitdown", "~> 0.0.2"