/
editor.html
executable file
·57 lines (42 loc) · 1.22 KB
/
editor.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
47
48
49
50
51
52
53
54
55
56
57
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Really Simple Markdown Editor Experiment</title>
<link rel="stylesheet" href="css/screen.css">
</head>
<body>
<div role="main">
<div id="markdown" class="box">
<textarea>
A First Level Header
====================
A Second Level Header
---------------------
Now is the time for all good men to come to
the aid of their country. This is just a
regular paragraph.
The quick brown fox jumped over the lazy
dog's back.
### Header 3
> This is a blockquote.
>
> This is the second paragraph in the blockquote.
>
> ## This is an H2 in a blockquote
Some of these words *are emphasized*.
Some of these words _are emphasized also_.
Use two asterisks for **strong emphasis**.
Or, if you prefer, __use two underscores instead__.
</textarea>
</div>
<div id="preview" class="box"></div>
<div id="stats" class="box"></div>
</div>
<script src="js/vendor/jquery-1.7.2.js"></script>
<script src="js/vendor/underscore-1.3.3.js"></script>
<script src="js/vendor/backbone-0.9.2.js"></script>
<script src="js/vendor/showdown.js"></script>
<script src="js/editor.js"></script>
</body>
</html>