-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
48 lines (39 loc) · 1.15 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Code Highlighting</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism.min.css" rel="stylesheet" />
</head>
<body>
<pre><code class="language-css">
/* CSS Example */
body {
background-color: #f0f0f0;
font-family: Arial, sans-serif;
}
</code></pre>
<pre><code class="language-js">
// JavaScript Example
function greet() {
alert('Hello, World!');
}
</code></pre>
<pre><code class="language-html">
<!DOCTYPE html>
<html lang="en">
<head>
<title>HTML Example</title>
</head>
<body>
<h1>Hello, World!</h1>
</body>
</html>
</code></pre>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-css.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-javascript.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-markup.min.js"></script>
</body>
</html>