Skip to content

jintwo/sshb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Simple stupid HTML builder in LUA

local h = require('html')
h.import() -- import default tags
h.import 'canvas' -- or h.import { 'canvas', ... } import custom tags

local data = html {
    head {
        title 'title'
    },
    body {
        div {
            'content',
            a { href = '/link/to' },
            canvas { attr = 'value' }
        }
    }
}

About

Stupid simple HTML builder in LUA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages