Skip to content

webash/wp-git-embed

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WP-Git-Embed

WordPress Plugin: Embed GitHub/Gist/Bitbucket/Whatever files.

Download: http://wordpress.org/extend/plugins/wp-git-embed/

Demo

WP-Git-Embed: Incluindo Arquivos do GitHub, Gist ou Bitbucket no seu Post do WordPress

Usage

[git:pre_ruby@https://github.com/rails/rails/blob/3-1-stable/railties/lib/rails/version.rb]
[git:sourcecode_ruby@https://github.com/rails/rails/blob/3-1-stable/railties/lib/rails/version.rb]

GitHub

[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}]

GitHub Gist

[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}]

Bitbucket

[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}]

Custom Files

[file:http://your-site/file.txt]
[file:pre_bash@http://gbaptista.com/custom_file.sh{1:8}]
[file:/var/www/file.txt]

About

WordPress Plugin: Embed GitHub/Gist/Bitbucket/Whatever files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%