add an interactive demo and tests to the underline extension

This commit is contained in:
Hans Pagel
2020-09-10 12:43:40 +02:00
parent 12116a65ec
commit 860b6385ad
7 changed files with 97 additions and 46 deletions

View File

@@ -1,5 +1,5 @@
# Bold
This extension is used to render text in **bold**. If you pass `<strong>`, `<b>` tags, or text with inline `style` attributes setting the `font-weight` CSS rule in the editors initial content, they all will be rendered accordingly.
Use this extension to render text in **bold**. If you pass `<strong>`, `<b>` tags, or text with inline `style` attributes setting the `font-weight` CSS rule in the editors initial content, they all will be rendered accordingly.
Type `**two asterisks**` or `__two underlines__` and the it will be magically transformed to **bold** text while you type.