A Space based HTML template language.
Scraps is a Space based HTML template language.
Scraps is currently in beta and the API is still changing.
Try it now at http://scraps.nudgepad.com
A normal html div written in Scraps looks like this:
divcontent Hello worldstyleleft 10pxtop 10px
This would get turned into html that looks like this:
<div style="left: 10px; top: 10px">Hello world</div>
Scraps can be any html element:
textareaplaceholder Enter some textstyleleft 10pxtop 40px
Scraps can use all normal html attributes such as "name" or "value":
inputtype textname ageplaceholder Agevalue 18styleleft 10pxtop 40px
ullicontent Onelicontent Two
divscontent Hello worldonclick alert('Hello world'!)