summaryrefslogtreecommitdiffstats
path: root/packages/markdown/marked/test/new/cm_autolinks.md
blob: a19d830c9ac70a482d5f13be3cc2c26f22621e32 (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
84
85
86
87
88
89
90
91
92
93
94
95
96
---
gfm: false
mangle: false
---

Here are some valid autolinks:

### Example 565

<http://foo.bar.baz>

### Example 566

<http://foo.bar.baz/test?q=hello&id=22&boolean>

### Example 567

<irc://foo.bar:2233/baz>

### Example 568

Uppercase is also fine:

<MAILTO:FOO@BAR.BAZ>

Note that many strings that count as absolute URIs for purposes of this spec are not valid URIs, because their schemes are not registered or because of other problems with their syntax:

### Example 569

<a+b+c:d>

### Example 570

<made-up-scheme://foo,bar>

### Example 571

<http://../>

### Example 572

<localhost:5001/foo>

### Example 573

Spaces are not allowed in autolinks:

<http://foo.bar/baz bim>

### Example 574

Backslash-escapes do not work inside autolinks:

<http://example.com/\[\>

Examples of email autolinks:

### Example 575

<foo@bar.example.com>

### Example 576

<foo+special@Bar.baz-bar0.com>

### Example 577

Backslash-escapes do not work inside email autolinks:

<foo\+@bar.example.com>

These are not autolinks:

### Example 578

<>

### Example 579

< http://foo.bar >

### Example 580

<m:abc>

### Example 581

<foo.bar.baz>

### Example 582

http://example.com

### Example 583

foo@bar.example.com