-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
125 lines (96 loc) · 3.82 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Droplr Markdown CSS Demo</title>
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<link href="markdown.css" rel="stylesheet">
</head>
<body>
<div class="container" style="max-width: 640px; margin: 0 auto">
<section class="markdown note">
<h1>Markdown Examples</h1>
<p>These <a href="http://daringfireball.net/projects/markdown/">Markdown</a> examples are take from <a href="https://guides.github.com/features/mastering-markdown/#examples">Github's Mastering Markdown Guide</a>.</p>
<h2>Text</h2>
<p>It's very easy to make some words <strong>bold</strong> and other words <em>italic</em> with Markdown. You can even <a href="http://google.com">link to Google!</a></p>
<h2>Lists</h2>
<p>Sometimes you want numbered lists:</p>
<ol>
<li>One</li>
<li>Two</li>
<li>Three</li>
</ol>
<p>Sometimes you want bullet points:</p>
<ul>
<li>Start a line with a star</li>
<li>Profit!</li>
</ul>
<p>Alternatively,</p>
<ul>
<li>Dashes work just as well</li>
<li>And if you have sub points, put two spaces before the dash or star:
<ul>
<li>Like this</li>
<li>And this</li>
</ul></li>
</ul>
<h2>Images</h2>
<p>If you want to embed images, this is how you do it:</p>
<p><img src="https://octodex.github.com/images/yaktocat.png" alt="Image of Yaktocat"></p>
<h2>Headers & Quotes</h2>
<p>Sometimes it's useful to have different levels of headings to structure your documents. Start lines with a <code>#</code> to create headings. Multiple <code>##</code> in a row denote smaller heading sizes.</p>
<h3>This is a third-tier heading</h3>
<p>You can use one <code>#</code> all the way up to <code>######</code> six for different heading sizes.</p>
<p>If you'd like to quote someone, use the > character before the line:</p>
<blockquote>
<p>Coffee. The finest organic suspension ever devised... I beat the Borg with it.
- Captain Janeway</p>
</blockquote>
<h2>Code</h2>
<p>Normal code snippet:</p>
<pre><code>if (isAwesome){
return true
}
</code></pre>
<p>There are many different ways to style code with GitHub's markdown. If you have inline code blocks, wrap them in backticks: <code>var example = true</code>. If you've got a longer block of code, you can indent with four spaces:</p>
<div class="fenced-code">
<table class="highlighttable">
<tbody>
<tr>
<td class="linenos">
<div class="linenodiv"><pre>1
2
3</pre>
</div>
</td>
<td class="code">
<div class="highlight">
<pre><span class="k">if</span> <span class="p">(</span><span class="n">isAwesome</span><span class="p">){</span>
<span class="k">return</span> <span class="nb">true</span>
<span class="p">}</span>
</pre>
</div>
</td></tr></tbody></table></div>
<h2>Tables</h2>
<p>You can create tables by assembling a list of words and dividing them with hyphens <code>-</code> (for the first row), and then separating each column with a pipe <code>|</code>:</p>
<table><thead>
<tr>
<th>First Header</th>
<th>Second Header</th>
</tr>
</thead><tbody>
<tr>
<td>Content from cell 1</td>
<td>Content from cell 2</td>
</tr>
<tr>
<td>Content in the first column</td>
<td>Content in the second column</td>
</tr>
</tbody></table>
</section>
</div>
</body>
</html>