CodeMirror: Closebrackets Demo

Type a bracket like '[', '(', '{', '"', or ''' and the addon will auto-close it. Type the closing variant when directly in front of a matching character and it will overwrite it.

If you backspace over a starting bracket while inside empty brackets (e.g. {|}), it will delete the closing bracket for you.