add more content to the heading

This commit is contained in:
Hans Pagel
2020-09-10 21:13:18 +02:00
parent af66dc6c81
commit 9dcee8fffc
2 changed files with 4 additions and 2 deletions

View File

@@ -1,5 +1,7 @@
# 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
| Option | Type | Default | Description |

View File

@@ -1,7 +1,7 @@
# HorizontalRule
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
| Option | Type | Default | Description |