motherjones/tweditor

Name: tweditor

Owner: Mother Jones

Description: Using Marked and CodeMirror to build a Wymisyg

Created: 2014-03-12 20:01:28.0

Updated: 2014-10-01 20:41:11.0

Pushed: 2014-10-30 02:06:55.0

Homepage:

Size: 785

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

TWEditor

In short TWEditor is a “What You Mean is What You Get” MarkDown editor with live preview and helpful menu.

Why

Because Wysiwygs are not cool and often get in the way of writers writing. Intended to be used with marked but work with modifications to the parser and lexer.

Live Demo

See here for a live demo.

Basic usage

See index.html in the root of the repository.

External Libary Requirements:
Code Examples
k rel="stylesheet" href="lib/tweditor.css">
ipt type="text/javascript" src="lib/tweditor.js"></script>
avascript
itor('textarea#markdown');
tml
l>
tarea id="markdown">
der

graph **with bold** text.
xtarea>
TODO

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.