You want to make a programming tutorial that is certainly related to the code. When display it directly on blog postings aren't elegant and feels uncomfortable to view. In this article, I will tell you that there is a way that is very simple but very elegant for the blog.
You can see the example at Code Snippet Example
Nice, isn't? Here is the guide.
Visit https://gist.github.com and sign-up to register a gist account. Now you can proceed to New Gist and copy-paste or type the code to the field. Then click Create public gist.
Now you have to copy the script and paste it to your blog post. Just remember to switch Compose mode to HTML mode when paste the script.
The final result will be like previous example. I hope you like it. If there are suggestions can tell me in the comments and don't forget to share to your friends.
0 comments:
Post a Comment