-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
33 lines (25 loc) · 861 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Realtime Syntaxhighlight example</title>
<link rel="stylesheet" href="prism.css">
<link rel="stylesheet" href="realtime-syntaxhighlight.css">
<script src="prism.js"></script>
<script src="realtime-syntaxhighlight.js"></script>
</head>
<body>
Realtime syntax highlighter. See the <a href="https://github.com/czirkoszoltan/realtime-syntaxhighlighter">project at GitHub</a>.
<h3>C++</h3>
<pre><code class="language-cpp editable">#include <iostream>
int main() {
std::cout << "Hello world" << std::endl;
return 0;
}</code></pre>
<h3>JavaScript</h3>
<pre><code class="language-js editable">(function() {
console.log("Hello world");
})();</code></pre>
</body>
</html>