Wordpress plugins
Code Snippet

Code Snippet

Version : 2.1.7
Tested up to : 2.9.2
Number of download : 25655
Author : Roman Roan
Average rating : 0 / 5 on 0 votes 0 votes, 0 avg.rating

Screenshots

Code Snippet
Code Snippet
Code Snippet
Code Snippet

Code Snippet was created by Roman Roan and originally hosted at http://blog.enargi.com. It is powered by the GeSHi engine and is quite possibly the best syntax highlighting engine for WordPress. A large number of languages are supported and it can be easily extended. Since his blog is no longer functioning, I’m attempting to keep his wonderful contribution available so I’ve given it a home at http://blog.hackerforhire.org/code-snippet/. If you find any bugs with it, let me know and I will do my best to resovle them. Usage The original author recommended always wrapping your code in a <pre> tag; however, most times you generally don’t need to. To use it, simply surround your code with as such and specify your language type: [code lang=”c”] int main(int argc, char** argv) { return 0; } [/code] And the result is: int main(int argc, char** argv) { return 0; } Supported Languages This tool uses the GeSHi library. Any supported language there should work just fine with Code Snippet. See http://qbnz.com/highlighter/ for details.

Download now