summaryrefslogtreecommitdiffstats
path: root/packages/markdown/marked/test/new/gfm_autolinks.md
blob: 86b9a3eec21981aa451e3eb53b3cc6c1ad41e338 (plain)
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
link with . http://example.com/hello-world.

link with ! http://example.com/hello-world!

link with : http://example.com/hello-world:

link with , http://example.com/hello-world,

link with ; http://example.com/hello-world;

link with ) http://example.com/hello-world)

link with nothing http://example.com/hello-world

### Example 597

The scheme http will be inserted automatically:

www.commonmark.org

### Example 598

After a valid domain, zero or more non-space non-< characters may follow:

Visit www.commonmark.org/help for more information.

### Example 599

Trailing punctuation (specifically, ?, !, ., ,, :, \*, \_, and ~) will not be considered part of the autolink, though they may be included in the interior of the link:

Visit www.commonmark.org.

Visit www.commonmark.org/a.b.

### Example 600

www.google.com/search?q=Markup+(business)

(www.google.com/search?q=Markup+(business))

### Example 601

www.google.com/search?q=(business))+ok

### Example 602

www.google.com/search?q=commonmark&hl=en

www.google.com/search?q=commonmark&amp;

### Example 603

< immediately ends an autolink.

www.commonmark.org/he<lp

### Example 604

http://commonmark.org

(Visit https://encrypted.google.com/search?q=Markup+(business))

Anonymous FTP is available at ftp://foo.bar.baz.

Extended email autolinks:

### Example 605

foo@bar.baz

### Example 606

hello@mail+xyz.example isn't valid, but hello+xyz@mail.example is.

### Example 607

a.b-c_d@a.b

a.b-c_d@a.b.

a.b-c_d@a.b-

    a.b-c_d@a.b_