-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
210 lines (208 loc) · 4.58 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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>markdown.css</title>
<link rel="stylesheet" href="./node_modules/highlight.js/styles/default.css">
<link rel="stylesheet" href="./base.css">
<link rel="stylesheet" href="./markdown.css">
</head>
<body>
<article>
<h1>Markdown</h1>
<h2>Blocks</h2>
<h3>Paragraphs</h3>
<p>Single Line</p>
<p>Multiple
Lines</p>
<p>Line<br>
Break (with two or more spaces)</p>
<h3>Headings</h3>
<h4>ATX Headings</h4>
<h1>h1</h1>
<h2>h2</h2>
<h3>h3</h3>
<h4>h4</h4>
<h5>h5</h5>
<h6>h6</h6>
<h4>Setext Headings</h4>
<h1>h1</h1>
<h2>h2</h2>
<h3>Block Quotes</h3>
<blockquote>
<p>Single Line</p>
</blockquote>
<blockquote>
<p>Multiple
Lines</p>
</blockquote>
<blockquote>
<p>Multiple
Lines (omit following <code>></code>)</p>
</blockquote>
<blockquote>
<p>Line<br>
Break (with two or more spaces)</p>
</blockquote>
<blockquote>
<p>Nested</p>
<blockquote>
<p>Content</p>
</blockquote>
</blockquote>
<blockquote>
<p>Other Markdown Grammars<br>
Inline Text: <em>Emphasis</em> and <strong>Strong</strong></p>
<p>List:</p>
<ul>
<li>A</li>
<li>B</li>
</ul>
<p>Code:</p>
<pre><code class="language-css"><span class="hljs-selector-tag">body</span> {
<span class="hljs-attribute">margin</span>: <span class="hljs-number">0</span>;
<span class="hljs-attribute">background-color</span>: <span class="hljs-number">#FFF</span>;
}
</code></pre>
</blockquote>
<h3>List</h3>
<h4>Ordered List</h4>
<ol>
<li>One</li>
<li>Two</li>
<li>Three</li>
</ol>
<h4>Unordered List</h4>
<ul>
<li>A</li>
<li>B</li>
<li>C</li>
</ul>
<h4>Nested List</h4>
<ol>
<li>One
<ol>
<li>A</li>
<li>B
<ul>
<li>x</li>
<li>y</li>
<li>z</li>
</ul>
</li>
<li>C</li>
</ol>
</li>
<li>Two
<ul>
<li>A
<ol>
<li>x</li>
<li>y</li>
<li>z</li>
</ol>
</li>
<li>B</li>
<li>C</li>
</ul>
</li>
<li>Three</li>
</ol>
<h4>Task List</h4>
<ul class="contains-task-list">
<li class="task-list-item"><input class="task-list-item-checkbox" checked="" disabled="" type="checkbox"> Checked</li>
<li class="task-list-item"><input class="task-list-item-checkbox" disabled="" type="checkbox"> Task</li>
</ul>
<h3>Definition List</h3>
<dl>
<dt>HTML</dt>
<dd>HyperText Markup Language</dd>
<dt>CSS</dt>
<dd>Cascading Style Sheets</dd>
</dl>
<h3>Code Blocks</h3>
<pre><code>npm init
npm install --save bootstrap
</code></pre>
<pre><code>npm init
npm install --save bootstrap
</code></pre>
<pre><code class="language-css"><span class="hljs-selector-tag">body</span> {
<span class="hljs-attribute">margin</span>: <span class="hljs-number">0</span>;
<span class="hljs-attribute">background-color</span>: <span class="hljs-number">#FFF</span>;
}
</code></pre>
<h3>Thematic Break</h3>
<hr>
<hr>
<hr>
<h3>Table</h3>
<table>
<thead>
<tr>
<th>name</th>
<th>age</th>
</tr>
</thead>
<tbody>
<tr>
<td>Tag</td>
<td>28</td>
</tr>
<tr>
<td>Mike</td>
<td>32</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th style="text-align:left">left</th>
<th style="text-align:center">center</th>
<th style="text-align:right">right</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">aaaaa</td>
<td style="text-align:center">bbbbbb</td>
<td style="text-align:right">ccccc</td>
</tr>
<tr>
<td style="text-align:left">a</td>
<td style="text-align:center">b</td>
<td style="text-align:right">c</td>
</tr>
</tbody>
</table>
<h2>Inlines</h2>
<h3>Links</h3>
<h3>Inline Link</h3>
<p><a href="https://www.google.com/">Google</a></p>
<p><a href="https://www.google.com/" title="Google Search">Google Search</a></p>
<h3>Reference Link</h3>
<p><a href="https://www.google.com/">Google</a></p>
<p><a href="https://www.google.com/" title="Google Search">Google Search</a></p>
<h3>Auto Link</h3>
<p><a href="https://www.google.com/">https://www.google.com/</a></p>
<p><a href="mailto:learnshare.hjq@gmail.com">learnshare.hjq@gmail.com</a></p>
<h3>Images</h3>
<p><img src="https://images.unsplash.com/photo-1565714683556-51844c3fdb3f?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=300&q=80" alt="small" title="small"></p>
<p><img src="https://images.unsplash.com/photo-1565714683556-51844c3fdb3f?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&h=400&q=80" alt="large" title="large"></p>
<p><img src="404" alt="404" title="404"></p>
<h3>Inline Code</h3>
<p>Install with <code>npm</code></p>
<h3>Emphasis</h3>
<p><em>Emphasis</em> and <strong>Strong</strong></p>
<h3>Strikethrough</h3>
<p><s>Strikethrough</s></p>
<h3>Subscript</h3>
<p>H<sub>2</sub>O</p>
<h3>Superscript</h3>
<p>29<sup>th</sup></p>
</article>
</body>
</html>