oEmbed Gist

Description

  • Embed your source from gist into WordPress easily.
  • You simply have to paste the URL of your Gist.
  • You can embed a specific revision of the Gist.
  • You can embed an individual file that is part of a multi-file Gist.

Summary

You can embed your program sources from gist by simply pasting the URL like below.

  • https://gist.github.com/973153
  • https://gist.github.com/973153#file_select_media.html

Support

Screenshots

  • Copy URL from gist.github.com.
  • You simply paste URL into WordPress.
  • It just appears!

Reviews

Works like a charm

Caspar Hübinger

Thank you for this plugin! It does what it says discretely and reliably. I’m currently using it with latest WordPress (v4.4.2), and all is well.

I noticed, though, that the plugin only supports specific naming patterns. If I have a Gist with multiple files, and they are named in a dot pattern—like my.gist.file-name.php—I would end up with a URL like my-gist-file-name-php, and the plugin would not embed those.

Is this a known behavior? Would you be interested in extending support for generic file names?

Read all 13 reviews

Changelog

4.7.1

4.7.0

  • Testedn on WordPress 4.7
  • Sync version number with WordPress core.

2.0.4

  • Tested on WordPress 4.5

2.0.2

  • Auto deploy.

2.0.1

  • Add Chinese translation. Thanks dallaslu!!

2.0.0

  • Leave a link to gist when is_feed().
  • Update tests.
  • Add readme.md

https://github.com/miya0001/oembed-gist/compare/1.9.0…2.0.0

1.9.0

  • Got it to work on Press This.

1.8.1

  • Tested on WordPress 4.3

1.8.0

  • Fix responsive css.
  • Add feature embedding gist’s revision.

1.7.0

  • Fix css styles for twentyfifteen.

1.6.1

  • Tested up to 4.0

1.6.0

  • https://github.com/miya0001/oembed-gist/compare/1.5.0…1.6.0

1.5.0

  • Fix problem with JetPack 2.9. Thanks rickrduncan for patch.

1.4.0

  • fixed for new permalink structure.

1.3.0

  • Some fix.

1.2.0

  • Fixed to specification changes of Gist.

1.1.0

  • Add support NOSCRIPT

0.1.0

  • The first release.

Contributors & Developers

oEmbed Gist is open source software. The following people have contributed to this plugin.

Contributors

Translate oEmbed Gist into your language.

Interested in development?

Browse the code or subscribe to the development log by RSS.