Crayon syntax highlighter
I’ve tried to install a couple of different syntax highlighters in the past and was thoroughly unimpressed. They either failed to install cleanly, didn’t work or had numerous issues that rendered them useless.
Anyway, after manually formatting source code snippets for years, I’m giving Crayon a go. The install was easy and the output looks good. Let’s see how we go :-)
class Test
{
int x;
std::string hi;
public:
Test(int x, std::string hi)
: x(x), hi(hi)
{
}
}
You can find it here: https://wordpress.org/plugins/crayon-syntax-highlighter/