Files
tiptap/docs/src/docPages/api/extensions/code.md
2020-09-10 11:24:33 +02:00

782 B
Raw Blame History

Code

The Code extensions enables you to use the <code> HTML tag in the editor. If you paste in text with <code> tags it will rendered accordingly.

Options

Option Type Default Description
class string Add a custom class to the rendered HTML tag.

Commands

Command Options Description
code Mark text as inline code.

Keyboard shortcuts

  • Alt + `

Source Code

packages/extension-code/

Usage