html {
head {
title { My Page }
}
body {
h1 { Welcome to the website }
@for i:int in 1..3 {
p { This is paragraph number $i }
}
@while i < 5 {
p { Another paragraph, $i }
i += 1
}
@if i >= 4 {
div { This is a dir inside an if block }
} else if i == 3 {
div { This is a dir inside an else-if block }
} else {
div { This is a dir inside an else block }
}
script() {
console.log("This is a script block");
console.log(document)
}
style() {
body {
background:white;
padding:200px;
font-family:lucida console;
},
h1 {
color:dodgerblue;
font-family:monospace;
font-size:1145px;
}
}
}
}
-
Notifications
You must be signed in to change notification settings - Fork 0
```html++``` is a more ```advancedly```-(stupid) way of writing html.
License
SideProjects-IDK/html-compiler
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
```html++``` is a more ```advancedly```-(stupid) way of writing html.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published