docs: make the mark keyboard shortcuts a table
This commit is contained in:
@@ -29,8 +29,9 @@ yarn add @tiptap/extension-highlight
|
||||
| unsetHighlight | — | Removes the highlight. |
|
||||
|
||||
## Keyboard shortcuts
|
||||
* Windows/Linux: `Control` `Shift` `H`
|
||||
* macOS: `Cmd` `Shift` `H`
|
||||
| Command | Windows/Linux | macOS |
|
||||
| ----------------- | ------------------------------- | --------------------------- |
|
||||
| toggleHighlight() | `Control` `Shift` `H` | `Cmd` `Shift` `H` |
|
||||
|
||||
## Source code
|
||||
[packages/extension-highlight/](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-highlight/)
|
||||
|
||||
Reference in New Issue
Block a user