docs: make the mark keyboard shortcuts a table

This commit is contained in:
Hans Pagel
2021-10-01 23:04:47 +02:00
parent a89e2eed29
commit bf06eef9f6
8 changed files with 47 additions and 23 deletions

View File

@@ -32,8 +32,9 @@ yarn add @tiptap/extension-strike
| unsetStrike | — | Remove strike mark. |
## Keyboard shortcuts
* Windows/Linux: `Control` `Shift` `X`
* macOS: `Cmd` `Shift` `X`
| Command | Windows/Linux | macOS |
| -------------- | ------------------------------- | --------------------------- |
| toggleStrike() | `Control` `Shift` `X` | `Cmd` `Shift` `X` |
## Source code
[packages/extension-strike/](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-strike/)