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
--Here is an example of a code-snippet using github's awesome markdown(ing lol ). | |
-- | |
function Hey_Lady() | |
print( "How's it goin Ms.Thang?" ) | |
end | |
Hey_Lady() |
In short, you create a file with some code formatting, and then copy the embed link to post on your blog. It's really simple and really fast.
Here's my steps for getting from A to Z:
- Sign up or sign in to github.
- Go to the uber top of the page and click "gist".
- Write your code into the file.
- Select the file type to match your code.
- Save.
- On the left of the page will be the embed link.
- Copy that link and paste it as HTML in your blog post.
That's it.
In Blogger, I don't see the Gist until I "Preview", so keep that in mind.