aboutsummaryrefslogtreecommitdiff
path: root/example/index.lua
blob: 76e1c0b39e63a4a5b2bbeaffd9865eb5f560199f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
return function()
    return {
        tag = "html",
        children = {
            {
                tag = "head",
                children = {
                    {
                        tag = "title",
                        children = {
                            "Hello World"
                        }
                    }
                }
            },
            {
                tag = "body",
                children = {
                    {
                        tag = "h1",
                        children = {
                            "Hello World"
                        }
                    }
                }
            }
        }
    }
end