WordPress.org

Ready to get started?Download WordPress

Forums

Embed GitHub Gist
Embedding individual files? (3 posts)

  1. nanodeath
    Member
    Posted 3 years ago #

    I have multiple files in one gist -- is it possible to embed just one file, i.e. as if I was using <script src="https://gist.github.com/546764.js?file=gistfile1.php"></script> ?

    Thanks.

    http://wordpress.org/extend/plugins/embed-github-gist/

  2. dflydev
    Member
    Plugin Author

    Posted 3 years ago #

    I'll take a look into providing this type of functionality! Please ping me again in a week or so if I haven't updated.

  3. nanodeath
    Member
    Posted 3 years ago #

    Thanks! I've patched my local copy of the plugin to do this already -- since file embeds are supported by your plugin already, but only for javascript-style embeds. Go figure. I just copied the logic from the JS version to the HTML version.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic