WordPress Plugin: Embed GitHub/Gist/Bitbucket/Whatever files.
Download: http://wordpress.org/extend/plugins/wp-git-embed/
WP-Git-Embed: Incluindo Arquivos do GitHub, Gist ou Bitbucket no seu Post do WordPress
With WP-Syntax
[git:pre_ruby@https://github.com/rails/rails/blob/3-1-stable/railties/lib/rails/version.rb]
With SyntaxHighlighter
[git:sourcecode_ruby@https://github.com/rails/rails/blob/3-1-stable/railties/lib/rails/version.rb]
[git:pre_ruby@https://github.com/rails/rails/blob/3-1-stable/railties/lib/rails/version.rb]
[git:pre_ruby@https://github.com/rails/rails/blob/3-1-stable/railties/lib/rails/version.rb{8}]
[git:pre_ruby@https://github.com/rails/rails/blob/3-1-stable/railties/lib/rails/version.rb{6:10}]
[git:pre_ruby@https://gist.github.com/gbaptista/4958597#file-a.rb]
[git:pre_ruby@https://gist.github.com/gbaptista/4958597#file-a.rb{2:3}]
[git:pre_ruby@https://bitbucket.org/gbaptista/test/src/7a350b304059b49616fee1870c59f53a8149db4a/lorem/file.rb]
[git:pre_ruby@https://bitbucket.org/gbaptista/test/src/7a350b304059b49616fee1870c59f53a8149db4a/lorem/file.rb{2:3}]
[file:http://your-site/file.txt]
[file:pre_bash@http://gbaptista.com/custom_file.sh{1:8}]
[file:/var/www/file.txt]