Enhanced Code Snippets with SyntaxHighlighter Evolved

After a long time of service, I decided to replace the old WP-Syntax plugin with a more modern one: SyntaxHighlighter Evolved.

I thought that the style of the code snippets of WP-Syntax started looking a bit old. The new plugin has several advantages:

  • The code snippets look better
  • A useful toolbar is available on each snippet allowing you to copy the code, to print it or to view the source only
  • The configuration is more complete

This plugin use the SyntaxHighlighter JavaScript package by Alex Gorbatchev.

Here is an example using this new plugin:

ExecutorService threadPool = Executors.newFixedThreadPool(4);

CompletionService<String> pool = new ExecutorCompletionService<String>(threadPool);

for(int i = 0; i < 10; i++){
   pool.submit(new StringTask());

for(int i = 0; i < 10; i++){
   String result = pool.take().get();

   //Compute the result


For now, only two posts are using this new plugin:

The other ones are still using the old plugin. I will convert the other posts when I will find some time.

I hope that this change will makes the site better for you.

Related articles

  • Top 15 Best Wordpress Plugins
  • New Wordpress theme for the site
  • Sonar C++ Community Plugin Review
  • Aggregator Plugin : Display global metrics in Sonarqube
  • The site is now running WordPress 3.4
  • Wordpress 3.0 installed !
  • Comments

    Comments powered by Disqus