edit code examples so PDF version does not run off page