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