Skip to content

Instantly share code, notes, and snippets.

@jmreynolds
Created February 1, 2016 23:48
Show Gist options
  • Save jmreynolds/d993682ac7aad2285e41 to your computer and use it in GitHub Desktop.
Save jmreynolds/d993682ac7aad2285e41 to your computer and use it in GitHub Desktop.
WordPress Snippets How to embed Gist, things like that. I don't remember these things, so I'm throwing them in here.
Using Gist-Embed currently - I like the way it styles the gists.
https://github.com/blairvanderhoof/gist-embed#other-ways-to-use-gist-embed
90% of the time, I'll do this:
<code data-gist-id="5457644" data-gist-file="example-file2.html"></code>
This might also be useful:
<code data-gist-id="5457668" data-gist-highlight-line="1,3,5"></code>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment