If anyone wants to post Arduino code with syntax highlighting on a WordPress site, that is quite easy to set up. You need only two things:
a plugin that uses GeSHi as syntax highlighting engine
- Arduino language file for GeSHi
A free definition of the Arduino code syntax
<pre lang="Arduino"> // arduino code </pre>
I just noticed that the language file was missing in the GeSHi directory of my installation. I assume that it got deleted when I updated the plugin. Something to keep in mind for future updates.