Edit on github

How to show & hide line numbers

There’s three ways to toggle line numbers:

  1. Via your editor preferences
  2. The “alternative” method

Editor preferences

If you’re registered (which is free), then you have full control over the editor preferences, including line numbers. The advantage of this approach is that it’ll save against your account so it carries across browsers and machines.

Customise your editor settings

“Alternative” method

Simply double click on the panel language selector.

double clicking language toggles line numbers

Note that this preference will only save in the browser you’re using at the time, and doesn’t carry across to other browsers or machines.

❤️ Love JS Bin?

Support this open source project today, and help it continue to run for another decade 🎂