diff options
Diffstat (limited to 'example')
| -rw-r--r-- | example/.gitignore | 1 | ||||
| -rw-r--r-- | example/index.luax | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/example/.gitignore b/example/.gitignore new file mode 100644 index 0000000..d907c43 --- /dev/null +++ b/example/.gitignore @@ -0,0 +1 @@ +*.lua diff --git a/example/index.luax b/example/index.luax index 1c4b62c..3dff259 100644 --- a/example/index.luax +++ b/example/index.luax @@ -6,6 +6,9 @@ return function() <body> <h1>Reluax Test</h1> <p>Random number for you: {$ tostring(math.floor(math.random() * 100)) $}</p> + <p style={ "font-size: " .. tostring(math.floor(math.random() * 100)) .. 'px' }> + What font size is this? + </p> </body> </html> end |
