JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 22609
  • Score
    100M100P100Q142265F
  • License MIT

Markdown for Quill Editor

Package Exports

  • quilljs-markdown

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (quilljs-markdown) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Markdown for Quill Editor

JavaScript Style Guide

QuillJS Markdown shortcut Extension.

NPM

DEMO

Wrote Library with ES6 and Standard Javascript Codestyle.

How to install

NPM

npm i quilljs-markdown

or

CDN

<script src="https://cdn.jsdelivr.net/npm/quilljs-markdown@latest/dist/quilljs-markdown.js"><script>

How to use

import Quill from 'quill'
import QuillMakrdown from 'quilljs-markdown'

const editor = new Quill('#editor', options)
new QuillMarkdown(editor)

or


<script src="https://cdn.quilljs.com/1.3.6/quill.js"></script>
<script src="https://cdn.jsdelivr.net/npm/quilljs-markdown@latest/dist/quilljs-markdown.js"><script>
<link href="https://cdn.quilljs.com/1.3.6/quill.snow.css" rel="stylesheet">

<script>
    document.addEventListener('DOMContentLoaded', () => {
      var quill = new Quill('#editor', {
        theme: 'snow'
      });
      new QuillMarkdown(quill)
    })
<script>

Heading

# MyTitle
## MyTitle
### MyTitle
#### MyTitle
##### MyTitle

Blockquote

> blockquote text

bold

**Bold Text**
[link text](https://link_url)

inline code

`inline code block`

Code block

```
code block
```

List

1. one
2. two
3. three

* one
* two
* three

Strikethrough

~~Strikethrough~~