# Highlight Use this extension to render highlighted text with ``. You can use only default `` HTML tag, which has a yellow background color by default, or apply different colors. ## Installation ```bash # With npm npm install @tiptap/extension-highlight # Or: With Yarn yarn add @tiptap/extension-highlight ``` ## Settings | Option | Type | Default | Description | | ------ | ------ | ------- | -------------------------------------------- | | class | string | – | Add a custom class to the rendered HTML tag. | ## Commands | Command | Options | Description | | --------- | ------- | ------------------------- | | highlight | — | Mark text as highlighted. | ## Keyboard shortcuts * Windows/Linux: `Control` `E` * macOS: `Cmd` `E` ## Source code [packages/extension-highlight/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-highlight/) ## Usage