forked from simonlc/Markdown-CSS
-
Notifications
You must be signed in to change notification settings - Fork 432
/
index.html
144 lines (106 loc) · 4.33 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<style>
#preview-box {
background-color: rgba(1,1,1,0.1);
padding: 1px 10px;
border-radius: 10px;
}
</style>
<link id="linkstyle" rel='stylesheet' href='markdown.css'/>
<div id="preview-box">
<strong>Preview another...</strong>
<select style="width:100%" id="themes">
<option value="markdown.css" >markdown</option>
<option value="markdown-alt.css" >markdown-alt</option>
<option value="markdown1.css" >markdown1</option>
<option value="markdown2.css" >markdown2</option>
<option value="markdown3.css" >markdown3</option>
<option value="markdown4.css" >markdown4</option>
<option value="markdown5.css" >markdown5</option>
<option value="markdown6.css" >markdown6</option>
<option value="markdown7.css" >markdown7</option>
<option value="markdown8.css" >markdown8</option>
<option value="markdown9.css" >markdown9</option>
<option value="markdown10.css" >markdown10</option>
<option value="avenir-white.css" >avenir-white</option>
<option value="foghorn.css" >foghorn</option>
<option value="screen.css" >screen</option>
<option value="swiss.css" >swiss</option>
</select>
</div>
<script>
var linkstyle = document.getElementById('linkstyle');
var themes = document.getElementById('themes');
themes.onchange = function(e) {
linkstyle.href = themes.value;
};
</script>
<h1>Markdown css themes</h1>
<hr />
<h1>A First Level Header</h1>
<h2>A Second Level Header</h2>
<h3>A Third Level Header</h3>
<h4>A Fourth Level Header</h4>
<h5>A Fifth Level Header</h5>
<h6>A Sixed Level Header</h6>
<p>Now is the time for all good men to come to
the aid of their country. This is just a
regular paragraph.</p>
<p>The quick brown fox jumped over the lazy
dog’s back.</p>
<hr />
<h3>Header 3</h3>
<blockquote><p>This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.</p>
<p>Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
id sem consectetuer libero luctus adipiscing.</p>
<h2>This is an H2 in a blockquote</h2>
<p>This is the first level of quoting.</p>
<blockquote><p>This is nested blockquote.</p></blockquote>
<p>Back to the first level.</p></blockquote>
<p>Some of these words <em>are emphasized</em>.
Some of these words <em>are emphasized also</em>.</p>
<p>Use two asterisks for <strong>strong emphasis</strong>.
Or, if you prefer, <strong>use two underscores instead</strong>.</p>
<ul>
<li>Candy.</li>
<li>Gum.</li>
<li>Booze.</li>
<li>Red</li>
<li>Green</li>
<li><p>Blue</p></li>
<li><p>A list item.</p></li>
</ul>
<p>With multiple paragraphs.</p>
<ul>
<li><p>Another item in the list.</p></li>
<li><p>This is a list item with two paragraphs. Lorem ipsum dolor
sit amet, consectetuer adipiscing elit. Aliquam hendrerit
mi posuere lectus.</p></li>
</ul>
<p>Vestibulum enim wisi, viverra nec, fringilla in, laoreet
vitae, risus. Donec sit amet nisl. Aliquam semper ipsum
sit amet velit.* Suspendisse id sem consectetuer libero luctus adipiscing.</p>
<ul>
<li>This is a list item with two paragraphs.</li>
</ul>
<p>This is the second paragraph in the list item. You’re
only required to indent the first line. Lorem ipsum dolor
sit amet, consectetuer adipiscing elit.</p>
<ul>
<li><p>Another item in the same list.</p></li>
<li><p>A list item with a bit of <code>code</code> inline.</p></li>
<li><p>A list item with a blockquote:</p>
<blockquote><p>This is a blockquote
inside a list item.</p></blockquote></li>
</ul>
<p>Here is an example of a pre code block</p>
<pre><code>tell application "Foo"
beep
end tell
</code></pre>
<p>This is an <a href="http://example.com/">example link</a>.</p>
<p>I get 10 times more traffic from <a href="http://google.com/" title="Google">Google</a> than from
<a href="http://search.yahoo.com/" title="Yahoo Search">Yahoo</a> or <a href="http://search.msn.com/" title="MSN Search">MSN</a>.</p>
<p>I start my morning with a cup of coffee and
<a href="http://www.nytimes.com/">The New York Times</a>.</p>