minor fixes

This commit is contained in:
Hans Pagel
2020-09-23 09:31:05 +02:00
parent 51af4b696b
commit 8e2d1716fc
4 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
# Blockquote
The Blockquote extension enables you to use the `<blockquote>` HTML tag in the editor. This is great you might have guessed to use quotes in the editor.
Type `> ` at the beginning of a new line and it will magically transform to a blockquote.
Type <code>>&nbsp;</code> at the beginning of a new line and it will magically transform to a blockquote.
## Installation
```bash

View File

@@ -1,7 +1,7 @@
# CodeBlock
With the CodeBlock extension you can add fenced code blocks to your documents. Itll wrap the code in `<pre>` and `<code>` HTML tags.
Type three backticks and a space (`\`` ) and a code block is instantly added for you.
Type three backticks and a space <code>&grave;&grave;&grave;</code> and a code block is instantly added for you.
::: warning Restrictions
The CodeBlock extension doesnt come with styling and has no syntax highlighting built-in. Its on our roadmap though.

View File

@@ -1,7 +1,7 @@
# Code
The Code extensions enables you to use the `<code>` HTML tag in the editor. If you paste in text with `<code>` tags it will rendered accordingly.
Type something with \`back-ticks around\` and it will magically transform to `inline code` while you type.
Type something with <code>\`back-ticks around\`</code> and it will magically transform to `inline code` while you type.
## Options
| Option | Type | Default | Description |

View File

@@ -43,8 +43,8 @@ const CustomDocument = Document.name('doc').create()
new Editor({
extensions: [
CustomDocument(),
CustomDocument(),
]
})
```