Markdown extension for Quilljs

GitHub release (latest SemVer) GitHub license npm version

QuillJS is rich text editor based on ES6+

This module support to markdown for QuillJS Editor.

Github repository is here

Playground

Quill Markdown

You can test it, here

How to use

Javascript

Javascript 2 (Enable to Standard style for Quilljs)

Destroy

Call destroy() to remove the event listener and disable markdown support:

To re-enable support, create a new instance.

HTML

Feature

Paste support for Markdown format. (copy and paste from below code)

You can paste with `Ctrl + Shift + v` from copies.

# paste for markdown

You can paste with `Ctrl + Shift + v` from copies.

1. 1 DEPTH
2. 2 DEPTH
 1. 2 SUB-DEPTH
 2. 2 SUB-DEPTH

string to **strong** and string to `hightlight`

```
# HEADER

This is ~~code-block~~

TODO

[x] Sleep
[ ] More sleep


```


[Repository Link](https://cloverhearts.github.io/quilljs-markdown/)

## TODO
[x] bug fix.
[ ] play with friends.

Have a ~~super~~ nice day

Heading

header, h1, h2, h3, h4, h5, h6
# MyTitle
## MyTitle
### MyTitle
#### MyTitle
##### MyTitle

Blockquote

blockquote
> blockquote text

bold

bold
**Bold Text**
or
__Bold Text__

Italics

italics
*Italics Text*
or
_Italics Text_

Link

link
[Go to Repository](https://github.com/cloverhearts/quilljs-markdown)

inline code

code
`inline code block`

Code block

pre
```
Code block
```

List

ol, ul
1. one
2. two
3. three

* one
* two
* three

Strikethrough

strikethrough
~~Strikethrough Message~~

Checkbox

checkbox
[ ] checkbox
[x] checked