Fix incorrect markdown links (#3243)

This commit is contained in:
Keane Nguyen 2018-10-07 17:40:52 -05:00 committed by Albin Ekblom
parent 251c7ffd2d
commit cf4a03628b

View file

@ -89,7 +89,7 @@ exports.decorateKeymaps = keymaps => {
}
```
The command name can be whatever you want, but the following is better to respect the default naming convention: `<context>:<action>`.
Hotkeys are composed by (Mousetrap supported keys)[https://craig.is/killing/mice#keys].
Hotkeys are composed by [Mousetrap supported keys](https://craig.is/killing/mice#keys).
**Bonus feature**: if your command ends with `:prefix`, it would mean that you want to use this command with an additional digit to the command. Then Hyper will create all your commands under the hood. For example, this keymap `'pane:hide:prefix': 'ctrl+shift'` will automatically generate the following:
```
@ -129,7 +129,7 @@ rpc.on('command pane:snapshot', () => {
### Menu
Your plugin can expose a `decorateMenu` function to modify the Hyper menu template.
Check the (Electron documentation)[https://electronjs.org/docs/api/menu-item] for more details about the different menu item types/options available.
Check the [Electron documentation](https://electronjs.org/docs/api/menu-item) for more details about the different menu item types/options available.
Be careful, a click handler will be executed on the main process. If you need to trigger a handler in the render process you need to use an `rpc` message like this:
```js