[mod] tidy
This commit is contained in:
parent
ebcb1b2c57
commit
afe98e48e2
10 changed files with 2561 additions and 2595 deletions
26
webapp/static/clients/monaco/index.html
Normal file
26
webapp/static/clients/monaco/index.html
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Monaco LSP - Vanilla JS</title>
|
||||
<link rel="icon" type="image/png" href="../favicon.png" />
|
||||
<link rel="stylesheet" href='./style.css' />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="container" style="height: 400px;"></div>
|
||||
|
||||
<script type="module">
|
||||
|
||||
import { monaco } from "https://cdn.jsdelivr.net/npm/monaco-editor-esm-cdn/monaco.js";
|
||||
|
||||
monaco.editor.create(document.getElementById("container"), {
|
||||
value: `function x() {\n\tconsole.log("Hello world!");\n}`,
|
||||
language: "xquery",
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue