@gitee/tide-extension-code
Introduction
This extension enables you to use the inline code (similar to the HTML tag <code>
) in the editor.
Features
This extension modifies the following features based on @tiptap/extension-code
:
- Input rule: Automatically converts
`code`
or·code·
to inline code when Space is entered after it. - Shortcut: Press ← to exit inline code when the cursor is at the beginning of a line of inline code.