move haskell-tree-sitter-playground

This commit is contained in:
Felix Roos 2024-05-16 14:30:00 +02:00
parent 2aac085bb8
commit 09e455e17e
9 changed files with 362 additions and 103 deletions

View file

@ -2,13 +2,28 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tree sitter test</title>
<style>
body {
background-color: #121213;
color: white;
}
textarea {
padding: 10px;
color: white;
background-color: transparent;
outline: none;
}
a {
color: white;
}
</style>
</head>
<body style="padding: 0; margin: 0">
<textarea id="code" style="width: 100%; height: 100px"></textarea>
<div id="graph" style="display: flex; width: 100%"></div>
<body style="margin: 0; padding: 0">
<textarea id="code" style="width: 100%; height: 200px"></textarea>
<pre id="result"></pre>
<div id="graph" style="display: flex; width: 100%; margin: auto; justify-content: center"></div>
<script type="module" src="/main.js"></script>
</body>
</html>