-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathghostdown.jquery.plugin.html
67 lines (54 loc) · 1.96 KB
/
ghostdown.jquery.plugin.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
58
59
60
61
62
63
64
65
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Ghost Down</title>
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<!-- Ghosty-ness markdowny-ness -->
<script src="ghostdown.js"></script>
<link href="ghostdown.css" media="all" rel="stylesheet">
<script src="jquery.ghostdown.js"></script>
</head>
<body>
<br><br><br><br>
<div class="features">
<section class="editor">
<div class="outer">
<div class="editorwrap">
<section class="entry-markdown">
<header class="floatingheader">
Markdown
</header>
<section class="entry-markdown-content">
<textarea>Ghost has an incredibly simple concept for writing. You write in [Markdown](http://daringfireball.net/markdown) on the left, and you see an immediate preview of exactly what your post will look like in rendered HTML on the right.
###The Benefits Are Obvious!
* Never stop writing, format on the fly
* No messing around with *buttons* everywhere
* No writing repetitive HTML markup
* Mobile friendly
It's a wonderful solution to a problem which bloggers have faced for many years now.
> Applying a multitude of formatting styles, with very little effort, and seeing those styles rendered exactly as they will appear on the website.
Give it a try! Start typing in the `Markdown` box. It's easy.</textarea>
</section>
</section>
<section class="entry-preview active">
<header class="floatingheader">
Preview <span class="entry-word-count">0 words</span>
</header>
<section class="entry-preview-content">
<div class="rendered-markdown"></div>
</section>
</section>
</div>
</div>
</section>
</div>
<script>
$(document).ready(function () {
$(".editor").ghostDown();
});
</script>
</body>
</html>