JSBin internally uses the CodeMirror library for it's HTML, JavaScript, and CSS code editors. JSBin exposes the Configuration Settings of CodeMirror and allows you to set them yourself. The settings are stored in localStorage so they are available the next time you use JSBin. CodeMirror supports a whole suite of settings, but the following are the ones that I am most interested in:
theme
- Color scheme that will be used for the editor. Currently the following themes exist: solarized-light, solarized-dark, monokai, vibrant-ink, cobalt, blackboard, ambiance, & jsbin (default)- indentUnit - The number of spaces inside a block of code
- smartIndent - Automatically indent based on the context of what you are doing
- tabSize - This defines the width of the tab character
- indentWithTabs - Determines if you want to use tabs instead of spaces when you intent
- autoClearEmptyLines - Clears lines that only have whitespace