I’m now using Enlighter to embed code snippets in my posts.

Let’s try it out:


class Display

    public $db;

    public function __construct(PDO $pdo)
        $this->db = $pdo;



Enlighter has several themes included, likeĀ Atomic, which is somewhat similar to Monokai.

It also has a theme customizer which allows you to build on top of the included themes. Curiously, the customizer lacks the ability to change the background color from the base theme, so I can’t get that sexy Monokai grey that I’m craving. Sounds like a great opportunity for my first open-source contribution on GitHub!