forked from internetarchive/wmd
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a markdown reference file and changed the ? button to point to …
…it. Removed all references to wmd-editor.com
- Loading branch information
Showing
4 changed files
with
111 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters