Permalink
Browse files

First github commit

  • Loading branch information...
Jay Salvat
Jay Salvat committed Mar 2, 2010
0 parents commit 3c736e5a3ee0836ed8ca67c72beb9dfce102b51b
Showing with 1,216 additions and 0 deletions.
  1. BIN images/body.png
  2. BIN images/jaysalvat.png
  3. BIN images/markitup.png
  4. +27 −0 images/style.css
  5. +65 −0 index.html
  6. +154 −0 jquery-1.4.2.min.js
  7. +558 −0 markitup/jquery.markitup.js
  8. +9 −0 markitup/jquery.markitup.pack.js
  9. +67 −0 markitup/readme.txt
  10. BIN markitup/sets/default/images/bold.png
  11. BIN markitup/sets/default/images/clean.png
  12. BIN markitup/sets/default/images/image.png
  13. BIN markitup/sets/default/images/italic.png
  14. BIN markitup/sets/default/images/link.png
  15. BIN markitup/sets/default/images/picture.png
  16. BIN markitup/sets/default/images/preview.png
  17. BIN markitup/sets/default/images/stroke.png
  18. +27 −0 markitup/sets/default/set.js
  19. +27 −0 markitup/sets/default/style.css
  20. BIN markitup/skins/markitup/images/bg-container.png
  21. BIN markitup/skins/markitup/images/bg-editor-bbcode.png
  22. BIN markitup/skins/markitup/images/bg-editor-dotclear.png
  23. BIN markitup/skins/markitup/images/bg-editor-html.png
  24. BIN markitup/skins/markitup/images/bg-editor-json.png
  25. BIN markitup/skins/markitup/images/bg-editor-markdown.png
  26. BIN markitup/skins/markitup/images/bg-editor-textile.png
  27. BIN markitup/skins/markitup/images/bg-editor-wiki.png
  28. BIN markitup/skins/markitup/images/bg-editor-xml.png
  29. BIN markitup/skins/markitup/images/bg-editor.png
  30. BIN markitup/skins/markitup/images/handle.png
  31. BIN markitup/skins/markitup/images/menu.png
  32. BIN markitup/skins/markitup/images/submenu.png
  33. +148 −0 markitup/skins/markitup/style.css
  34. BIN markitup/skins/simple/images/handle.png
  35. BIN markitup/skins/simple/images/menu.png
  36. BIN markitup/skins/simple/images/submenu.png
  37. +118 −0 markitup/skins/simple/style.css
  38. +5 −0 markitup/templates/preview.css
  39. +11 −0 markitup/templates/preview.html
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,27 @@
+body {
+ background:#EEE url(body.png) repeat-x;
+ font: 13px "Trebuchet MS", Arial, Verdana;
+ padding-top:95px;
+}
+a {
+ text-decoration:none;
+ color:#3C769D;
+}
+h1 a,
+p em a {
+ display:block;
+ overflow:hidden;
+ text-indent:-1000px;
+ position:absolute;
+ top:0px; left:0px;
+}
+h1 a {
+ background:#EEE url(markitup.png) no-repeat top left;
+ width:245px; height:85px;
+ top:28px;
+}
+p em a {
+ background:transparent url(jaysalvat.png) no-repeat 10% 50%;
+ width:120px; height:28px;
+ left:30px;
+}
@@ -0,0 +1,65 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<title>markItUp! Universal markup editor</title>
+<link rel="stylesheet" type="text/css" href="images/style.css" />
+<!-- jQuery -->
+<script type="text/javascript" src="jquery-1.4.2.min.js"></script>
+<!-- markItUp! -->
+<script type="text/javascript" src="markitup/jquery.markitup.pack.js"></script>
+<!-- markItUp! toolbar settings -->
+<script type="text/javascript" src="markitup/sets/default/set.js"></script>
+<!-- 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" />
+</head>
+<body>
+<script type="text/javascript">
+<!--
+$(document).ready(function() {
+ // Add markItUp! to your textarea in one line
+ // $('textarea').markItUp( { Settings }, { OptionalExtraSettings } );
+ $('#markItUp').markItUp(mySettings);
+
+ // You can add content from anywhere in your page
+ // $.markItUp( { Settings } );
+ $('.add').click(function() {
+ $.markItUp( { 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) {
+ $("#markItUp").markItUpRemove();
+ $("span", this).text("get markItUp! back");
+ } else {
+ $('#markItUp').markItUp(mySettings);
+ $("span", this).text("remove markItUp!");
+ }
+ return false;
+ });
+});
+-->
+</script>
+<h1><a href="http://markitup.jaysalvat.com/">markItUp!</a></h1>
+<p><em><a href="http://www.jaysalvat.com">By Jay Salvat</a></em></p>
+<p>Downloads, examples and documentation at <a href="http://markitup.jaysalvat.com">http://markitup.jaysalvat.com</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>
+<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;
+</textarea>
+</p>
+<p>Support the projet : <a href="http://markitup.jaysalvat.com/">Donate</a> | <a href="http://markitup.jaysalvat.com/">Contact</a></p>
+</body>
+</html>

Large diffs are not rendered by default.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 3c736e5

Please sign in to comment.