Crayon syntax highlighter

less than 1 minute read

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;

  Test(int x, std::string hi)
  : x(x), hi(hi)


You can find it here: