Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 66 lines (59 sloc) 2.5 KB
<!DOCTYPE html>
<meta charset="utf-8">
<title>markItUp! Universal markup editor</title>
<link rel="stylesheet" type="text/css" href="images/style.css">
<!-- markItUp! skin -->
<link rel="stylesheet" type="text/css" href="markitup/skins/markitup/style.css">
<!-- markItUp! toolbar skin -->
<link rel="stylesheet" type="text/css" href="markitup/sets/default/style.css">
<!-- jQuery -->
<script type="text/javascript" src=""></script>
<!-- markItUp! -->
<script type="text/javascript" src="markitup/jquery.markitup.js"></script>
<!-- markItUp! toolbar settings -->
<script type="text/javascript" src="markitup/sets/default/set.js"></script>
<h1><a href="">markItUp!</a></h1>
<p><em><a href="">By Jay Salvat</a></em></p>
<p>Downloads, examples and documentation at <a href=""></a>.</p>
<p>Click <a href="#" class="add">this link to insert content</a> from anywhere in the page or <a href="#" class="toggle">this one to <span>remove markItUp!</span></a></p>
<textarea id="markItUp" cols="80" rows="20">
&lt;h1&gt;Welcome on markItUp!&lt;/h1&gt;
&lt;p&gt;&lt;strong&gt;markItUp!&lt;/strong&gt; is a JavaScript plugin built on the jQuery library. It allows you to turn any textarea into a markup editor. Html, Textile, Wiki Syntax, Markdown, BBcode or even your own markup system can be easily implemented.&lt;/p&gt;
<p>Support the project : <a href="">Donate</a> | <a href="">Contact</a></p>
<script type="text/javascript">
$(function() {
// Add markItUp! to your textarea in one line
// $('textarea').markItUp( { Settings }, { OptionalExtraSettings } );
// You can add content from anywhere in your page
// $.markItUp( { Settings } );
$('.add').click(function() {
{ openWith:'<opening tag>',
closeWith:'<\/closing tag>',
placeHolder:"New content"
return false;
// And you can add/remove markItUp! whenever you want
// $(textarea).markItUpRemove();
$('.toggle').click(function() {
if ($("#markItUp.markItUpEditor").length === 1) {
$("span", this).text("get markItUp! back");
} else {
$("span", this).text("remove markItUp!");
return false;