add content to the typography extension page
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Typography
|
||||
|
||||
This extension tries to help with common text patterns with the correct typographic character.
|
||||
|
||||
## Installation
|
||||
```bash
|
||||
@@ -10,8 +10,18 @@ npm install @tiptap/typography
|
||||
yarn add @tiptap/typography
|
||||
```
|
||||
|
||||
## Rules
|
||||
| Name | Description |
|
||||
| ---------------- | ------------------------------------------------------ |
|
||||
| emDash | Converts double dashes `--` to an emdash `—`. |
|
||||
| ellipsis | Converts three dots `...` to an ellipsis character `…` |
|
||||
| openDoubleQuote | `“`Smart” opening double quotes. |
|
||||
| closeDoubleQuote | “Smart`”` closing double quotes. |
|
||||
| openSingleQuote | `‘`Smart’ opening single quotes. |
|
||||
| closeSingleQuote | ‘Smart`’` closing single quotes. |
|
||||
|
||||
## Source code
|
||||
[packages/typography/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/typography/)
|
||||
|
||||
## Usage
|
||||
<demo name="Extensions/Typography" highlight="" />
|
||||
<demo name="Extensions/Typography" highlight="12,31" />
|
||||
|
||||
Reference in New Issue
Block a user