minor improvements

This commit is contained in:
Hans Pagel
2020-09-21 16:59:28 +02:00
parent 26af779d22
commit ece9d0a554
16 changed files with 53 additions and 38 deletions

View File

@@ -1,7 +1,7 @@
# Heading
The Heading extension adds support for headings of different levels. Headings are rendered with `<h1>`, `<h2>`, `<h3>`, `<h4>`, `<h5>` or `<h6>` HTML tags. By default all six headline levels are enabled, but you can pass an array to only allow a few levels. Check the usage example to see how this is done.
Type `# ` at the beginning of a new line and it will be magically transformed to a headline, same for `## `, `### `, `#### `, `##### ` and `###### `.
Type `# ` at the beginning of a new line and it will magically transform to a headline, same for `## `, `### `, `#### `, `##### ` and `###### `.
## Options
| Option | Type | Default | Description |
@@ -22,7 +22,7 @@ Type `# ` at the beginning of a new line and it will be magically transformed
* `Control` + `Shift` + `5` → H5
* `Control` + `Shift` + `6` → H6
## Source Code
## Source code
[packages/extension-heading/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-heading/)
## Usage