-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
37 lines (32 loc) · 1.01 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>CodeMirror Adapter for Apache Camel LSP</title>
<style>
.editor {
height: 50vh;
overflow: auto;
border-bottom: 1px solid #ccc;
max-width: 90vw;
}
</style>
</head>
<body>
<h1>CodeMirror Adapter for Apache Camel Language Server Protocol</h1>
<p>This is a live demo of a CodeMirror editor in the browser, which is connected over
a web socket to a hosted Apache Camel Language Server which supports several flavors of Camel DSL.
</p>
<p><a href="https://github.com/camel-tooling/camel-lsp-client-codemirror">View example on Github</a></p>
<select class="switcher" name="language">
<option>XML</option>
<option>Java</option>
<option>Yaml</option>
<option>Kotlin</option>
<option>Groovy</option>
<option>javascript</option>
<option>properties</option>
</select>
<div class="editor"></div>
<script src="./dist/main.js"></script>
</body>
</html>