v1.5.0
This release adds a shortcut cmd/ctrl+shift+E
for automatically wrapping selected text in a code block.
This also fixes a bug with capitalisation of hotkeys implying shift
. On MacOS the cmd+shift
plane specifically lower-cases letters, meaning event.key
is set to lower case if metaKey
and shiftKey
are true; the same is not true for ctrl
, or for other OSes. This fixes the bug so that the presence of shiftKey
will capitalise event.key
, for the hotkey attribute.