Skip to content

Instantly share code, notes, and snippets.

@bananita
Last active December 26, 2015 21:58
Show Gist options
  • Save bananita/233b94592b7d4eed8eef to your computer and use it in GitHub Desktop.
Save bananita/233b94592b7d4eed8eef to your computer and use it in GitHub Desktop.
render text: Kramdown::Document.new(Base64.decode64 Octokit.readme('bananita/mbfaker').content.to_s).to_html
GitHub::Markdown.render_gfm(Base64.decode64 Octokit.readme('bananita/mbfaker').content.to_s)
CodeRay.scan(GitHub::Markdown.render_gfm(Base64.decode64 Octokit.readme('bananita/mbfaker').content.to_s), :objc).div(:line_numbers => :table)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment