initial commit

This commit is contained in:
cyclic
2025-07-20 20:23:49 -06:00
commit 6948e46327
19 changed files with 447 additions and 0 deletions

28
lib/html/README.md Normal file
View File

@@ -0,0 +1,28 @@
# HTMLuau
Simple HTML templating in Luau.
```luau
html({ lang = "en" }) {
head() {
title() {
"Hello World",
},
},
body() {
h1() {
"Hello World",
},
button({ onclick = "alert('Hello World!')" }) {
"Click Me",
},
p() {
"This is a simple HTML page generated using Luau.",
"Lines are concatenated.",
"So you can write sentences on separate lines.",
"<html> is properly excaped.",
},
button(),
},
}
```