-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
46 lines (45 loc) · 2.7 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html lang="en">
<head>
<title>Greetings | Mightier</title>
<meta charset="utf-8">
<link rel="stylesheet" href="mightier.css">
</head>
<body>
<script src="//code.jquery.com/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="app/lib.js"></script>
<script type="text/javascript" src="app/editor.js"></script>
<script type="text/javascript" src="app/layout.js"></script>
<script type="text/javascript" src="app/events.js"></script>
<script type="text/javascript" src="app/commands.js"></script>
<script type="text/javascript" src="app/cursor.js"></script>
<script type="text/javascript" src="app/input.js"></script>
<script type="text/javascript" src="app/selection.js"></script>
<script type="text/javascript" src="app/parser.js"></script>
<script type="text/javascript" src="app/undomanager.js"></script>
<script type="text/javascript">
$('.content').prepend('<div>A thing by <a href="twitter.com/devinhalladay">Devin Halladay</a>.</div>');
var text = ["A thing by Devin Halladay (http://twitter.com/devinhalladay)", "", "This app uses localStorage to store your writings.", "", "# SHORTCUTS", "", "FocusMode: Cmd + D", "SmartTyping: Type \"<\"", "Save: Cmd + S", "Indent: Tab or Shift + Tab", "", "## Emphasis and Strong", "", "Emphasis: *example* = _example_ (or Cmd + I)", "Strong: **example** = __example__ (or Cmd + B)", "", "## Numbered lists: type \"1.\" + space", "", "1. Ordered list item", "2. Ordered list item", "3. Ordered list item (enter to create a new item)", "", "## Bulleted lists: type \"*\" + space", "", "* Bulleted list item", "* Bulleted list item", "* Bulleted list item", "", "## ToDo lists: type \"-\" or \"+\" + space", "", "- Task (Mark as done, click on \"-\")", "+ Task Done", "", "## Indentation", "", " This is an example of a indented paragraph.", "", "## Blockquotes", "", "> This is an example of a quoted paragraph. It stays indented over multiple lines until you hit enter."]
var Document = new Editor(localStorage["content"] || text);
Document.goDocStart();
Document.focusInput();
</script>
<script type="text/javascript">
var GoSquared = {};
GoSquared.acct = "GSN-434581-P";
(function(w){
function gs(){
w._gstc_lt = +new Date;
var d = document, g = d.createElement("script");
g.type = "text/javascript";
g.src = "//d1l6p2sc9645hc.cloudfront.net/tracker.js";
var s = d.getElementsByTagName("script")[0];
s.parentNode.insertBefore(g, s);
}
w.addEventListener ?
w.addEventListener("load", gs, false) :
w.attachEvent("onload", gs);
})(window);
</script>
</body>
</html>