Pages

Monday, April 6, 2015

Syntax highlighter in google blogger

As google blogger does not allow to upload any css and javascript folder, one need to think in different way to make use of highlighter. So here is step by step guide to have it on your blogger
1. Download syntax highlighter from here
2. Copy it in your dropbox public directory.
3. Go to template tab in your blogger setting and click on "edit html"
4. Now just above end of head tag, put the link of public url from your dropbox account.




5. Now you should remember to choose HTML mode while creating new post. An example to make syntax highlight for python would be

#!/usr/bin/python
print "Hello, Python!";
""

This would result in following python code in your blog:

#!/usr/bin/python
print "Hello, Python!";
""

Sunday, April 5, 2015

About Me

Hi, This is santosh baral from country of Himalaya, Nepal. I believe I have technical mind with spiritual heart. In this blog, I will try to write about everything that comes up in my mind.  Any feedbacks would be really appreciated