Skip to content

grey-kristy/lhtml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lhtml

Very simpLe HTML DSL for erlang

table() ->
    html:table([
        html:caption(html:h3(<<"Fruits">>)),
        html:tr([html:td("Apple"), html:td(5)]),
        html:tr([html:td('Oranges'), html:td(4)]),
        html:tr(html:td(html:h3("Vegetables"), {colspan, 2})),
        html:tr([html:td('Cucumbers'), html:td(2)])
    ]).

About

Simple HTML DSL for erlang

Resources

Stars

Watchers

Forks

Packages

No packages published