0.1.0 • Published 5 years ago

quill-md-shortcuts v0.1.0

Weekly downloads
5
License
-
Repository
-
Last release
5 years ago

Quill Markdown Shortcuts

This is kind of fork of (@patleeman/quill-markdown-shortcuts)https://github.com/patleeman/quill-markdown-shortcuts. @patleeman did a great job implementing all the functionality, however unless you used global instance of Quill it is useless. There is (open PR with the fix)(https://github.com/patleeman/quill-markdown-shortcuts/pull/16) but not merged for over a year and half in the time of writing this README.

Instalation

npm i quill-md-shortcuts

Usage

Quill.register( 'formats/horizontal', createHrBlot( Quill ) )
Quill.register( 'modules/markdownShortcuts', QuillMarkdownShortcuts )

Supported formats

# Headers

**Bold text**

*Italic*

***Bold italic***

~~Strikethrough~~

- Bullet points

1. Numbered lists

[] Checkboxes

[]() Links

> Blockquote

`Inline code block`

Fenced Code block

--- Horizontal Rule