aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/assets/muted/index.html
blob: c750d780b94d9f86ae53810130fdde362b8ddecb (plain) (blame)
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
<!doctype>
<html>
<head>
<title>Mutan Editor</title>
<link rel="stylesheet" href="codemirror.css">
<link rel="stylesheet" href="eclipse.css">
<script src="lib/codemirror.js"></script>
<script src="lib/matchbrackets.js"></script>
<script src="lib/go.js"></script>

<style type="text/css">
    html, body {
        margin: 0; padding: 0;
    }

    .CodeMirror {
        height: 100%;
    }
</style>
</head>

<body>
<textarea id="editor"></textarea>
<script>
    var textArea = document.querySelector("#editor")
    var editor = CodeMirror.fromTextArea(textArea, {
        theme: "eclipse",
        mode: "text/html",
        lineNumbers: true,
        mode: "text/x-go",
        indentUnit: 8,
        tabSize: 8,
        indentWithTabs: true,
    });
</script>

</body>
</html>