starting stuff

This commit is contained in:
conzer 2024-12-07 13:44:53 -05:00
parent 8a66ea7971
commit ed3c7d4278
7 changed files with 121 additions and 10 deletions

View file

@ -1,9 +1,5 @@
<hylia>
<element name="body">
I am in the body element.
</element>
<p>I am not in the body element.</p>
<element name="outside">
I am outside the body element, but inside the outside element.
</element>
<class name="hi">
<h1>test hello</h1>
</class>
</hylia>

View file

@ -1,9 +1,11 @@
<hylia>
<import src="header.hy" />
<element name="head">
<title>Hello Hylia!</title>
</element>
<var name="testvar"><h1>Hello!</h1><br><h2>Hello again!</h2></var>
<element name="body">
<hi />
<h1>Hello Hylia!</h1>
<p>This is an example content.</p>
{{testvar}}

View file

@ -1,7 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<title>Hello Hylia!</title>
</head>
<body>
I am in the body element.
<hi />
<h1>Hello Hylia!</h1>
<p>This is an example content.</p>
<h1>Hello!</h1><br><h2>Hello again!</h2>
</body>
I am outside the body element, but inside the outside element.
</html>