Fix typo at require

Improved the example formatting a bit too.