LESS is very cool. Zawsze zastanawiałem się, czy istnieją jakieś dobre generatory html, które pozwalają mi łatwiej pisać formę lub robić inne rzeczy. Czy jest coś podobnego, ale dla html?Generator HTML?
7
A
Odpowiedz
5
Próbowałem Haml?
Od swojej stronie internetowej, ten kod haml:
#profile
.left.column
#date= print_date
#address= current_user.address
.right.column
#email= current_user.email
#bio= current_user.bio
zostaje przekształcony w tym HTML.
<div id="profile">
<div class="left column">
<div id="date"><%= print_date %></div>
<div id="address"><%= current_user.address %></div>
</div>
<div class="right column">
<div id="email"><%= current_user.email %></div>
<div id="bio"><%= current_user.bio %></div>
</div>
</div>
Jeśli lubisz haml, to polubisz też Sass, który jest haml dla CSS. Właściwie, Haml comes with Sass. Nadal możesz korzystać z LESS, jeśli chcesz.
5
Sprawdź Zen-Coding.
Używa znaczników stylu CSS do generowania kodu HTML z kilkoma ciekawymi funkcjami.
0
Czy jeden Blended-HTML On-line Layout Generator używa znaczników CSS3 i HTML5 do generowania kodu źródłowego dla układu strony HTML on-line.
Hmmm, tak, ASP.NET, PHP, JSP, Ruby na szynach itp: o) –