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