Press "Enter" to skip to content

Extensible Markdown Editor Library In JavaScript | DownArea

DownArea is an easy-to-use, lightweight, and extensible JavaScript markdown editor library.

rich markdown editor demo, markdown editor jquery, markdown editor on my website, create markdown editor javascript, markdown in js, javascript wysiwyg markdown editor

How to make use of it:

1. Insert the Downarea’s JavaScript and Stylesheet into the doc.

<link rel="stylesheet" href="src/downarea.min.css" />
<script src="src/downarea.min.js"></script>

2. Create an empty container for the markdown editor.

<div class="editor"></div>

3. Initialize the markdown editor and executed.

var downarea = new DownArea({
    elem: document.querySelector('.editor'),
});

4. Enable/disable the resizer:

var downarea = new DownArea({
    elem: document.querySelector('.editor'),
    resize: DownArea.RESIZE_BOTH,
});

5. Hide particular editor buttons. All out there editor buttons:

var downarea = new DownArea({
    elem: document.querySelector('.editor'),
    hide: ['bold-italic', 'link']
});

6. API strategies.

downarea.addHeading(1-6);
downarea.addBold();
downarea.addItalic();
downarea.addItalic();
downarea.addLink(0 or 1);
downarea.addEmail();
downarea.addImage();
downarea.addBlockquote();
downarea.addUnorderedList();
downarea.addOrderedList();
downarea.addSingleLineCode();
downarea.addCodeBlock();

Easy Extensible Mardown Editor In JavaScript, DownArea Plugin/Github, markdown editor wysiwyg


See Demo And Download

Official Website(fatihege): Click Here

This superior jQuery/javascript plugin is developed by fatihege. For extra Advanced usage, please go to the official website.

Be First to Comment

    Leave a Reply

    Your email address will not be published.