Add/Embed Code snippet box on blog with syntax highlighting

In my yesterday's post on how to embed a radio player I tried put the code snippet for embedding the radio player on the blog post. But just pasting the code on the post was not that good. So searched for how to format the plain code html tags with syntax highlighting and line numbers.

After a lot of search on google, I found this web page Source code beautifier / syntax highlighter. In this page we can give our code snippet as input and select the code language and then submit. Now in the other box we will get the html code for the formatted code snippet which can be pasted directly on the html view of the blog post.

Screenshot of the tool




2 comments :