# Underline The underline mark with a toolbar toggle and keyboard shortcut. ## Installation ```bash npx shadcn@latest add litingyes/blocove/rich-text-editor-underline ``` > Typography requires [shadcn/typeset](https://ui.shadcn.com/docs/typeset). Copy `typeset.css` next to your main stylesheet, import it after Tailwind and add the `.typeset-docs` preset. ## API Reference ### EditorUnderline Registers the underline mark. Options pass through to the Tiptap extension. | Prop | Type | Default | | --- | --- | --- | | `...options` | `Partial` | - | ### EditorUnderlineToolbar Toolbar toggle for the underline mark, also usable inside the bubble menu. | Prop | Type | Default | | --- | --- | --- | | `className` | `string` | - | ## Registry dependencies - `litingyes/blocove/rich-text-editor` - `litingyes/blocove/rich-text-editor-extension` Namespace: `npx shadcn@latest add @blocove/rich-text-editor-underline`