-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexamples.html
62 lines (62 loc) · 1.89 KB
/
examples.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Custom Elements Demo</title>
<script src="https://cdn.jsdelivr.net/gh/DoctorDemon/Terminal-Elements/terminal-elements.js" defer></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/styles/default.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/highlight.min.js"></script>
<style>
body {
background-color: #1a202c;
color: white;
font-family: 'Roboto Mono', monospace;
margin: 0;
padding: 2rem;
max-width: 1200px;
margin: 0 auto;
}
.demo-section {
margin-bottom: 3rem;
}
</style>
</head>
<body>
<div class="demo-section">
<terminal-element theme="atom-one-dark">
user@hostname:~$ ls -l
total 32
drwxr-xr-x 2 user group 4096 Jan 1 12:00 Documents
drwxr-xr-x 2 user group 4096 Jan 1 12:00 Downloads
user@hostname:~$ pwd
/home/user
</terminal-element>
<terminal-element theme="agate">
user@hostname:~$ ls -l
total 32
drwxr-xr-x 2 user group 4096 Jan 1 12:00 Documents
drwxr-xr-x 2 user group 4096 Jan 1 12:00 Downloads
user@hostname:~$ pwd
/home/user
</terminal-element>
<terminal-element theme="an-old-hope">
user@hostname:~$ ls -l
total 32
drwxr-xr-x 2 user group 4096 Jan 1 12:00 Documents
drwxr-xr-x 2 user group 4096 Jan 1 12:00 Downloads
user@hostname:~$ pwd
/home/user
</terminal-element>
<terminal-element theme="monokai-sublime">
user@hostname:~$ ls -l
total 32
drwxr-xr-x 2 user group 4096 Jan 1 12:00 Documents
drwxr-xr-x 2 user group 4096 Jan 1 12:00 Downloads
user@hostname:~$ pwd
/home/user
</terminal-element>
</div>
</div>
</body>
</html>