forked from internetarchive/wmd
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pasteme.txt
136 lines (87 loc) · 3.07 KB
/
pasteme.txt
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
This is some regular text.
Here is some text with stuff that requires special handling: ( ) [ ] { } /\ ~
What if I put in some internal markup? ~T ~K2K
This is code and preformatted text. /* comment*/ <b>Not bold</b>
Here is an `inline code block` created with backticks.
This text uses a line
break
Some text in *italics* and some _more text in italics._
Some **bold** text and __some more.__
Both ***bold and italic*** and ___again___.
Here is a standard hyperlink <a href="http://stackoverflow.com/">Stack Overflow</a>
Inline link to [Google](http://www.google.com/)
Reference-style link to [Google][1]
Here's a more readable reference link to [Google][google]
Here's an inline [link](http://www.google.com/ "Google") with a tooltip in quotes.
A reference [link][parens] in parentheses.
A reference [link][quotes] in quotes.
Automatically converted link: http://www.stackoverflow.com
A link that is forced: <http://www.stackoverflow.com>
Level 1 Header can use any number of equal signs
=
Level 2 Header can use any number of dashes
-
# You can also use #
## Hash marks to create header levels
### The closing hash marks are optional ###
Horizontal rules use 3 or more hyphens, asterisks or underscores
---
text
***
text
___
text
breaking up the line markers also works
* * *
A bulleted list:
- Use a dash
+ Or a plus sign
* Or an asterisk
A numbered list:
1. Numbered lists are easy
2. The numbers are automatically tracked
7. So this will be number 3
Double-spaced list:
- You can make a spaced-out list wrapped in `<p>` tags
- By putting a space in between the lines
Nested Lists:
1. Lists in a list item:
- Indent four spaces
* Per list level
2. You can do multiple paragraphs if you skip a line.
And indent four spaces.
Three works, too but that can be confusing.
3. To put blockquotes in a list item
> Skip a line and indent the starting '>' four spaces.
4. To put preformatted code in a list item
Skip a line and indent <b>eight</b> spaces.
Simple Blockquotes
>Just add > to the start of the line.
>And you'll get a blockquote.
Blockquote paragraphs
> Putting a >
>
> on blank lines is optional
> it all looks the same to the markdown editor.
Blockquote nesting
>You can nest
>>blockquotes to any
>>>level you want
Lists in blockquotes
> - A list in a blockquote
> - Have to have a > and a space before the bullet marker
> * And you can do nested lists.
Code and quotes
> Just indent the text four spaces after the >
Images
Inline image: ![Alt text goes here](http://w3.org/Icons/valid-xhtml10)
Reference image with tooltip: ![valid XHTML][checkmark]
You can't do this ![checkmark]
but you can do this ![checkmark][] where the ref name will be the alt text.
Regular image links also work, including scaling:
<img src="http://w3.org/Icons/valid-xhtml10" width="100" height="25">
[1]: http://www.google.com
[Google]: http://www.google.com
[parens]: http://www.google.com (Click to go to Google)
[quotes]: http://www.google.com "Click for Google"
[checkmark]: http://w3.org/Icons/valid-xhtml10 "Image tooltip"