So, after the blog was hacked and the hosting company could not restore it from a back-up, I have embarked on setting up the blog from scratch.
I needed a syntax highlighter and went in search using the WordPress dashboard. I came up with the Crayon plug-in. It certainly seems to have a far fuller feature set than the previous plug-in I used.
Below is some PHP code:
1 2 3 4 5 6 7 8 9 10 11 |
<?php /* Here is a comment block */ function marked() { return true; } echo 'Hello World!'; echo 'This line is marked,'; // line will have a background color echo 'this line is not.'; ?> |