add installation instructions to all extensions

This commit is contained in:
Hans Pagel
2020-09-23 09:52:04 +02:00
parent f4a76c5448
commit 789296be4e
18 changed files with 145 additions and 7 deletions

View File

@@ -7,6 +7,15 @@ Type three backticks and a space <code>&grave;&grave;&grave;</code> and a code b
The CodeBlock extension doesnt come with styling and has no syntax highlighting built-in. Its on our roadmap though.
:::
## Installation
```bash
# With npm
npm install @tiptap/extension-code-block
# Or: With Yarn
yarn add @tiptap/extension-code-block
```
## Options
| Option | Type | Default | Description |
| ------ | ------ | ------- | -------------------------------------------- |