0.2.2 • Published 9 years ago
fyui v0.2.2
Fyui
Pre-compiler for html sources
Usage: fyui -f [path/to/file.html]
Installing
- Install node.js
- run
npm install -g fyui
Usage
Usage: fyui install [path/to/file.html]
pre-html syntax
- From
html
head
title
=content
body{"param1":"param", "param2":"param"}
div#id
span.class
div#footer.footer2
div#info.info,info2,info3
- Transform to:
<html>
<head>
<title>
=content
</title>
</head>
<body param1="param" param2="param">
<div id="id">
<span class="class">
</span>
</div>
<div id="footer" class="footer2">
</div>
<div id="info" class="info info2 info3">
</div>
</body>
</html>