WIP text rewrite, highlighting

This commit is contained in:
2025-09-25 11:34:38 +10:00
parent 2dc3992566
commit c85abbaad1
3 changed files with 142 additions and 13 deletions

View File

@@ -7,10 +7,12 @@
</head>
<body>
<div class="left">
<code id="editor"></code>
<code contenteditable="true" id="editor"></code>
</div>
<div class="right">
<button onclick="runCode()">Run</button>
<input type="file" id="fileInput" hidden accept=".grnd">
<button for="fileInput" id="buttonTrigger">Choose File</button>
<br>
<code id="console">Output will be shown here, click the run button to run your code!</code>
</div>