Clean up example formatting

This should stop the scrolling in the code section when displayed on GitHub.