update the code block page, add tests

This commit is contained in:
Hans Pagel
2020-09-10 17:29:34 +02:00
parent d1ea1da0cc
commit b3297f05c2
4 changed files with 63 additions and 4 deletions

View File

@@ -1,5 +1,11 @@
# CodeBlock
Enables you to use the `<pre>` HTML tag in the editor.
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.
::: warning Restrictions
The CodeBlock extension doesnt come with styling and has no syntax highlighting built-in. Its on our roadmap though.
:::
## Options
| Option | Type | Default | Description |