It is “Clean out the room” weekend. And, I am here ruminating through all the dead wood, printed paper, clutter I have stored in my little bedroom.
The one I am currently on is the one by Chris Coyier and it is titled “Posting Code Blocks on a WordPress Site | CSS Tricks”.
Truth be told is was the inspiration behind our last post, as well.
Posting Code Blocks on a WordPress Site | CSS-Tricks
Chris post is available here.
A post is one thing, but taking the time to read the comment block is where one usually get all the fireworks.
What works, and what doesn’t.
Essentially, why the whole world is going to hell and why all this doesn’t really matter.
Hidden there somewhere, the reassuring “… but then you can try this, as well.”
Here is the comment left by Lewis Cowles :-
And, so the drill is you go to https://gist.github.com/.
You do a bit of data entry
- Gist Description
- Give the code a bit of description
- File name
- Filename and extension
- Code Block
- Enter the code snippet
- Private or Public
- Indicate whether private or public
- Search Engines will collect metadata
- Excluded by Search Engines
- Anyone with URL can access it
Come back to wordpress.
The easiest for me to is to use the access the Text tab and use the gist tag.
Please read more here….