-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
58 lines (52 loc) · 1.8 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
49
50
51
52
53
54
55
56
57
58
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Eve Highlighter Demo</title>
<link rel="stylesheet" href="/node_modules/codemirror/lib/codemirror.css">
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet">
<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,600" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="/node_modules/codemirror-mode-eve/eve-mode.css">
</head>
<body>
<pre><code class="language-eve">
# Hey *whoah*
~~~ eve
commit
[#ui/div children:
[#canvas/root #my-root | width: 500 height: 500 children:
[#canvas/path #your-path | strokeStyle: "#00FF00" children:
[type: "ellipse" x: 250 y: 250 radius: 100]
[type: "arcTo" x1: 40 y1: 100 x2: 80 y2: 180 radius: 40]]]]
~~~
</code></pre>
<pre><code>
# Hey *whoah*
~~~
commit
[#ui/div children:
[#canvas/root #my-root | width: 500 height: 500 children:
[#canvas/path #your-path | strokeStyle: "#00FF00" children:
[type: "ellipse" x: 250 y: 250 radius: 100]
[type: "arcTo" x1: 40 y1: 100 x2: 80 y2: 180 radius: 40]]]]
~~~
</code></pre>
<pre><code class="language-javascript">
# Hey *whoah*
~~~ javascript
commit
[#ui/div children:
[#canvas/root #my-root | width: 500 height: 500 children:
[#canvas/path #your-path | strokeStyle: "#00FF00" children:
[type: "ellipse" x: 250 y: 250 radius: 100]
[type: "arcTo" x1: 40 y1: 100 x2: 80 y2: 180 radius: 40]]]]
~~~
</code></pre>
<script src="/build/highlighter-bundle.js"></script>
<script>
window["eve-highlighter"].highlightAll();
</script>
</body>
</html>