codeigniter_test/asset/css/wmd-master/markdownhelp.html

102 lines
2.9 KiB
HTML
Raw Normal View History

2020-01-02 22:49:45 +07:00
<!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>&gt; 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">&nbsp;&nbsp;&nbsp;&nbsp;</span>if 1 * 2 &lt; 3:<br>
<span class="spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>print "hello, world!"<br>
</td>
<td><pre>if 1 * 2 &lt; 3:<br> print "hello, world!"</pre></td>
</tr>
</tbody>
</table>
</body>
</html>