# Subscript The subscript mark with a toolbar toggle. ## Installation ```bash npx shadcn@latest add litingyes/blocove/rich-text-editor-subscript ``` > 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 ### EditorSubscript Registers the subscript mark. | Prop | Type | Default | | --- | --- | --- | | `...options` | `Partial` | - | ### EditorSubscriptToolbar Toolbar toggle for the subscript 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-subscript`