Code Examples Improvements #3: Automatic formatting

Hey everyone!

Code examples are now automatically formatted for every language we support.

Previously, automatic formatting was only applied to a handful of our most popular languages. For other languages, examples could sometimes look a bit rough or inconsistent.

Here’s a quick before vs after for Ruby:

Before:


(Extra empty lines, slightly messy formatting.)

After:


(Much cleaner and easier on the eyes.)

If you notice any formatting that still looks off, please let us know!