Update stuff

This commit is contained in:
2026-01-28 18:31:10 +11:00
parent 45489caa1d
commit 7710b8923a
4 changed files with 24 additions and 8 deletions

View File

@@ -64,7 +64,7 @@ function highlightSolstice(code) {
const word = code.substring(i, end);
// Check what type of word it is
if (['def', 'if', 'while', 'return', 'ground', 'puts', 'def', 'struct', 'new'].includes(word)) {
if (['def', 'if', 'while', 'return', 'ground', 'puts', 'def', 'struct', 'new', 'use'].includes(word)) {
result += `<span class="keyword">${word}</span>`;
} else if (['input', 'print', 'println'].includes(word)) {
result += `<span class="builtin">${word}</span>`;