Module skooma.env
Mini-DSL for DOM generation.
Usage:
local env = require 'skooma.env' local html = env 'html' local node = html.h1 { "Example Title"; html.a { href = "https://example.org/", "Example Link" } } print(node)
skooma.env
Mini-DSL for DOM generation.
local env = require 'skooma.env' local html = env 'html' local node = html.h1 { "Example Title"; html.a { href = "https://example.org/", "Example Link" } } print(node)