Tag Archives: Wordpress

Easily add Code Snippets to your Free WordPress blog’s posts

Sometime back when I was writing a blog post, I suddenly got the need to add some Code Snippets to my blog post and I wanted to give it the real ‘code look’ which you get in IDEs. Unfortunately I couldn’t find anything within the WordPress settings. So as usual I praised google,  but I couldn’t find anything properly related to the ‘free’ version of the WordPress blogs. But somehow after going through so many websites and forums, I finally found a better solution. So here it is,

http://hilite.me/

Its pretty much easy to use this and specially your code looks really nice and there’s a lot customizations you could do using this tool. Lemme show you how,

Step 1 – Copy and Paste your Code to http://hilite.me/
Step 2 – Select Programming Language and Style. You could even edit the CSS as you wish.. 😀

Capture

 Step 3 – Click on Highlight to Generate your Code Preview and HTML snippet…

Untitled1

 Step 4 – Copy the HTML Snippet… ( Ctrl + A & Ctrl + C ) 😛

Untitled1

Step 5 – Paste (Ctrl + V) the HTML Snippet in your Blog post’s Text tab… 😉

Untitled1

Aaand thats it ! You may get a pretty looking code snippet as below… 😉

namespace YourAppNamespace
{
    public class ClassAwesome
    {
        String GetAwesomeness();
    }
}

 

Stay Awesome folks… ^_^ 😀
Advertisements

Why I love WordPress rather than Google Blogspot ! (O_o)

Google is Awesome, and Blogspot is one of their services which is not-so-awesome ! My very first blog was on Blogspot couple of months back, and the next thing I know I didn’t even feel like tying another single word in it. The way I see it, well may be my personal thought, I hate that Text Editor. (-____-) Yeah ! You heard me !
I love the text editor they have in WordPress, this nice and neat interface, I would suggest wordpress to anyone with no second thoughts ! 🙂 In that case, you might call me a n00b ! Hellooooo ! Obviously, what did you expect you fool ? I am a n00b for blogging ! 😀

Anwyays the point being, this was just my idea, think about it how many people would be out there just like me who left Blogspot because of their not-so-good text editor ! I think google, specially Blogspot developer team should look into it ! 🙂 would help them crunch some new numbers agains WordPress. Anyways WordPress I Love you (^_^) , Blogspot, I dislike you ! (-_____-)