-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathtest_text_uri.expected
127 lines (127 loc) · 9.03 KB
/
test_text_uri.expected
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
Output with ANSI styling:
┌────────────────────────────────┐
│]8;;#SecondAnchor\Link to a within-document anchor]8;;\│
└────────────────────────────────┘
────────────────────────────────────────────────────
┌───────┐
│]8;;https://example.com/1\child 1]8;;\│
└───────┘
────────────────────────────────────────────────────
]8;;https://example.com/2\child 2]8;;\
────────────────────────────────────────────────────
┌──────────────────┐
│──┬────────┐ │
│ │]8;;https://example.com/4\header 3]8;;\│ │
│ ├────────┘ │
│ └─┬──────────┐ │
│ │]8;;https://example.com/4\subchild 3]8;;\│ │
│ └──────────┘ │
└──────────────────┘
────────────────────────────────────────────────────
──┬────────┐
│]8;;https://example.com/5\header 4]8;;\│
├────────┘
└─┬──────────┐
│]8;;https://example.com/5\subchild 4]8;;\│
└──────────┘
────────────────────────────────────────────────────
┌───────┐
│child 5│
└───────┘
────────────────────────────────────────────────────
┌──────────────────┐
│┌────────┐ │
││]8;;https://example.com/6\header 6]8;;\│ │
│├────────┘ │
│└─┬───────┐ │
│ │]8;;https://example.com/6\child 6]8;;\│ │
│ ├───────┘ │
│ └─┬──────────┐ │
│ │]8;;https://example.com/7\subchild 6]8;;\│ │
│ └──────────┘ │
└──────────────────┘
────────────────────────────────────────────────────
{#FirstAnchor}┌──────────────────┐
│anchor self-link 1│
└──────────────────┘
────────────────────────────────────────────────────
{#SecondAnchor}silent anchor
└─subchild 7
────────────────────────────────────────────────────
{#ThirdAnchor}anchor self-link 2 after anchor link 2
└─subchild 8
────────────────────────────────────────────────────
]8;;https://example.com/8\external link 8]8;;\ after external link 8
Output without ANSI styling:
uri │#SecondAnchor
─────┼──────────────────────────────────────────────
inner│┌────────────────────────────────┐
││Link to a within-document anchor│
│└────────────────────────────────┘
─────┼──────────────────────────────────────────────
uri │https://example.com/1
─────┼──────────────────────────────────────────────
inner│┌───────┐
││child 1│
│└───────┘
─────┼──────────────────────────────────────────────
uri │https://example.com/2
─────┼──────────────────────────────────────────────
inner│child 2
─────┴──────────────────────────────────────────────
┌─────┬────────────────────────┐
│uri │https://example.com/3 │
├─────┼───────────────────── │
│inner│ │
│└─uri │https://example.com/4 │
│ ─────┼───────────────────── │
│ inner│┌────────┐ │
│ ││header 3│ │
│ │├────────┘ │
│ │└─┬──────────┐ │
│ │ │subchild 3│ │
│ │ └──────────┘ │
└───────┴──────────────────────┘
─────┬──────────────────────────────────────────────
uri │https://example.com/5
─────┼──────────────────────────────────────────────
inner│──┬────────┐
│ │header 4│
│ ├────────┘
│ └─┬──────────┐
│ │subchild 4│
│ └──────────┘
─────┴──────────────────────────────────────────────
┌───────┐
│child 5│
└───────┘
─────┬──────────────────────────────────────────────
uri │https://example.com/6
─────┼──────────────────────────────────────────────
inner│┌─────────────────────────────────┐
││┌────────┐ │
│││header 6│ │
││├────────┘ │
││└─┬───────┐ │
││ │child 6│ │
││ ├──────┬┘ │
││ └─uri │https://example.com/7 │
││ ─────┼───────────────────── │
││ inner│┌──────────┐ │
││ ││subchild 6│ │
││ │└──────────┘ │
│└─────────┴───────────────────────┘
─────┴──────────────────────────────────────────────
{#FirstAnchor}┌──────────────────┐
│anchor self-link 1│
└──────────────────┘
────────────────────────────────────────────────────
{#SecondAnchor}silent anchor
└─subchild 7
────────────────────────────────────────────────────
{#ThirdAnchor}anchor self-link 2 after anchor link 2
└─subchild 8
─────┬──────────────────────────────────────────────
uri │https://example.com/8 after external link 8
─────┼─────────────────────
inner│external link 8