Skip to content

[markdown] attach indent/outdent keys to toolbar buttons for cross platform support

At the moment we're capturing keystrokes to support indent cmd+] and outdent cmd+[. However this only reliably works on macOS. To be properly cross platform, we need to handle the ctrl key equivalent.

Adding as toolbar buttons will handle this platform shift transparently due to the use of the mousetrap library.