🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

This javascript library is a markdown text editor.

Core Java Script HTML5

Documentation

Markdown Text Editor Plugin

As mentioned in the title above.

2014-09-04: The HTML version of this editor is available!

Demo

markdown-text-editor

→ https://rawgit.com/tovic/markdown-text-editor/master/index.html

Requires

Basic Usage

Put icon fonts and CSS files in the <head>:

<link href="css/font-awesome.min.css" rel="stylesheet"> <link href="css/mte.min.css" rel="stylesheet">

Create a <textarea> element in the body:

<textarea></textarea>

Put editor and MTE plugin after the <textarea> element then execute the plugin:

<script src="js/editor.min.js"></script> <script src="js/mte.min.js"></script> <script> var myEditor = new MTE(document.getElementsByTagName('textarea')[0]); </script>

Options

Read more on the Wiki Pages


You May Also Like