title: Autocomplete parentheses in vanilla JavaScript inputs
body: <p>I have an input where the user can type and I want it to autocomplete parentheses, quotes, and more. E.g. if the user types <code>(</code> then after that <code>)</code> is inserted and the cursor is placed in between. How can I do this?</p>