Created
February 1, 2016 23:48
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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