# Typography Input rules that turn plain punctuation into typographic characters. ## Installation ```bash npx shadcn@latest add litingyes/blocove/rich-text-editor-typography ``` > 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 ### EditorTypography Registers the typography input rules. Dashes, ellipses, quotes, arrows and other patterns are rewritten as they are typed. | Prop | Type | Default | | --- | --- | --- | | `...options` | `Partial` | - | ## Registry dependencies - `litingyes/blocove/rich-text-editor` - `litingyes/blocove/rich-text-editor-extension` Namespace: `npx shadcn@latest add @blocove/rich-text-editor-typography`