WordPress Code Snippet plugin tryout

No Comments

Code displayed on web pages need formatting to ease reading. This post is my tryout of WordPress Code Snippet plugin.

After installation the plugin adds a code snippet box at the bottom of the Add/Edit post window and a drop down box with languages. You can select one from the following languages: HTML/XML, CSS, Javascript, PHP, SQL, C#, VB, C++, Java, Python, Ruby, Delphi.

I copy pasted some ancient C++ code and the formatting is really nice and has great syntax highlighting.

The only problem seems to be that you can only have one snippet per post and not within text. *UPDATE* now (version >=2.0.3) it is possible to have multiple snippets per post and within text.

Leave a Reply

*