aboutsummaryrefslogtreecommitdiff
path: root/test/ansi-test.ansi
blob: 57147eacc70064fb5b859c7c683416070be29e9c (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
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
LEVEL 1 HEADING

Text

Level 2 heading

Text

Level 3 heading

Text

Level 4 heading

Text

Level 5 heading

Text

• list

  • nested

    1) numbered

       continuation paragraph

]8;;http://example.com\link]8;;\

]8;;mailto:[email protected]\[email protected]]8;;\

│ Block quote
│
│ │ Nested block quote

Multiline table with caption:

Centered    Left       Right        Default aligned
Header      Aligned    Aligned      
─────────── ────────── ──────────── ──────────────────────────
First       row        12.0         Example of a row that
                                    spans multiple lines.
Second      row        5.0          Here’s another one. Note
                                    the blank line between
                                    rows.
─────────── ────────── ──────────── ──────────────────────────

  Here’s the caption. It may span multiple lines.

Multiline table without caption:

Centered    Left       Right        Default aligned
Header      Aligned    Aligned      
─────────── ────────── ──────────── ──────────────────────────
First       row        12.0         Example of a row that
                                    spans multiple lines.
Second      row        5.0          Here’s another one. Note
                                    the blank line between
                                    rows.
─────────── ────────── ──────────── ──────────────────────────

Table without column headers:

───────────────── ───────────────── ───────────────── ─────────────────
12                12                12                12
123               123               123               123
1                 1                 1                 1
───────────────── ───────────────── ───────────────── ─────────────────

Footnote¹

Multiple blocks in a cell

────────────────── ─────────── ────────────
COL 1              COL 2       COL 3
                               
col 1              col 2       col 3
r1 a               • b         c c 2 c 2
                               
r1 bis             • b 2       
                               
                   • b 2       
────────────────── ─────────── ────────────

East Asian characters have double width

── ────
魚 fish
── ────

This is inline code:  x >>= y ++ 3 .

    code block
       >>> ## ``

Highlighted:

    <p><a href="foobar" title="title">This is a link</a></p>
    <!-- comment -->

Math: $\pi^2 = \frac{1}{2}$

e = mc²

────────────────────

More text.

boldface text, underlined text, emphasized text.

small caps

We see a log₁₀ reduction in 2⁹ seconds.

Hello

Goodbye

                          ────────────────────

  1. Here’s the note.]8;;\