This commit is contained in:
Philipp Kühn 2020-09-10 22:29:21 +02:00
commit 960be0ec04
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
# Heading # Heading
Enables you to use headline HTML tags in the editor. The Heading extension adds support for headlines. Headlines are rendered with `<h1>` to `<h6>` HTML tags. By default six headline levels are enabled, but you can pass an array to only allow a few levels, see an example below.
Type `# ` at the beginning of a new line and it will be magically transformed to a headline, same for `## `, `### `, `#### `, `##### ` and `###### `.
## Options ## Options
| Option | Type | Default | Description | | Option | Type | Default | Description |

View File

@ -1,7 +1,7 @@
# HorizontalRule # HorizontalRule
Use this extension to render a `<hr>` HTML tag. If you pass `<hr>` in the editors initial content, itll be rendered accordingly. Use this extension to render a `<hr>` HTML tag. If you pass `<hr>` in the editors initial content, itll be rendered accordingly.
Type three dashes (`---`) or three underscores and a space (`___ `) at the beginning of a new line and it will be magically transformed to a horizontal rule. Type three dashes (`---`) or three underscores and a space (`___ `) at the beginning of a new line and it will be magically transformed to a horizontal rule.
## Options ## Options
| Option | Type | Default | Description | | Option | Type | Default | Description |