UNPKG
ansi_up
Version:
latest (6.0.6)
6.0.6
6.0.5
6.0.4
6.0.3
6.0.2
6.0.1
6.0.0
5.2.1
5.2.0
5.1.0
5.0.1
5.0.0
4.0.4
4.0.3
4.0.2
3.0.0
2.0.3
2.0.2
2.0.1
2.0.0
1.3.0
1.2.1
1.2.0
1.1.3
1.1.2
1.1.1
1.0.0
Convert ansi sequences in strings to colorful HTML
github.com/drudru/ansi_up
drudru/ansi_up
ansi_up
/
examples
/
browser_amd.html
17 lines
(16 loc)
•
280 B
HTML
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<
html
>
<
head
>
<
style
type
=
"text/css"
>
pre {
margin
:
0
;
font-family
: monaco,
"Courier New"
, Courier, monospace;
line-height
:
1.3
;
background
: black; }
</
style
>
<
script
data-main
=
"main.js"
src
=
"require.js"
>
</
script
>
</
head
>
<
body
>
<
pre
id
=
"console"
>
</
pre
>
</
body
>
</
html
>