forked from ChiperSoft/wmd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
markdownhelp.html
102 lines (100 loc) · 2.91 KB
/
markdownhelp.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
<!DOCTYPE HTML>
<html lang="ru-RU">
<head>
<meta charset="UTF-8">
<title>Markdown Help</title>
<style type="text/css" media="screen">
body {font-size:12px;}
table {background:white;font-size:11px;border-collapse:collapse;}
table thead td {background-color: #ffff99; text-align: center;}
table td {border:1px solid silver;padding:5px;vertical-align:middle;}
table .spaces {background-color:#c0c0c0}
</style>
</head>
<body>
<h1 style="text-align:center;font-size:20px">Markdown Syntax Help</h1>
<table style="margin:0px auto;width:700px">
<thead>
<tr>
<td><em>Description</em></td>
<td><em>Example:</em></td>
<td><em>Creates:</em></td>
</tr>
</thead>
<tbody>
<tr>
<td>Text surrounded by asterisks or underscores will be made italic</td>
<td>*italics*</td>
<td><em>italics</em></td>
</tr>
<tr>
<td>Text surrounded by double asterisks will be bold</td>
<td>**bold**</td>
<td><b>bold</b></td>
</tr>
<tr>
<td>To create a hyperlink, surround the text you want to be the link with brackets followed by the URL in parenthesis.</td>
<td><nobr>[linked text](http://example.com)</nobr></td>
<td><a href="http://example.com">linked text</a></td>
</tr>
<tr>
<td rowspan="2">A line of text starting with a pound symbol will become a heading. There are six levels of heading which you can reach by adding more pound signs.</td>
<td>#heading 1</td>
<td><h1><nobr>heading 1</nobr></h1></td>
</tr>
<tr>
<td>##heading 2</td>
<td><h2>heading 2</h2></td>
</tr>
<tr>
<td rowspan="2">You can also create a header by following it with two or more equal signs or hyphens.</td>
<td>heading 1<br>===========</td>
<td><h1><nobr>heading 1</nobr></h1></td>
</tr>
<tr>
<td>heading 2<br>-----------</td>
<td><h2>heading 2</h2></td>
</tr>
<tr>
<td>A series of lines beginning with hyphens will create an unordered list.</td>
<td>
- item 1<br>
- item 2<br>
- item 3
</td>
<td><ul>
<li>item 1</li>
<li>item 2</li>
<li>item 3</li>
</ul></td>
</tr>
<tr>
<td>A series of lines beginning with numbers followed by a period will create an ordered list.</td>
<td>
1. item 1<br>
2. item 2<br>
3. item 3
</td>
<td><ol>
<li>item 1</li>
<li>item 2</li>
<li>item 3</li>
</ol></td>
</tr>
<tr>
<td>A line started with a greater-then symbol will identify that text as being quoted from someone else.
<td>> quoted text</td>
<td><blockquote>quoted text</blockquote></td>
</tr>
<tr>
<td>Lines starting with four spaces are treated as preformatted text and will display without wrapping.</td>
<td>
<span class="spaces"> </span>if 1 * 2 < 3:<br>
<span class="spaces"> </span>print "hello, world!"<br>
</td>
<td><pre>if 1 * 2 < 3:<br> print "hello, world!"</pre></td>
</tr>
</tbody>
</table>
</body>
</html>