| |||||
HAML is a markup language written for Ruby as a HTML-outputting template engine.
While Ruby may not be available, or even may not be the first choice of many Web developers, this library provides a way to use HAML, while working with Node.js.
So it simply ports HAML from Ruby to server-side JavaScript.
Haml.js doesn't change native HAML syntax.
Requirements:
· Node.js
What's New in This Release: [ read full changelog ]
· Optionally exclude html_escape function definition from every template -- provide your own escape function invocation string ("MyApp.htmlEscape") and it will be used instead, dramatically shrinking template sizes.
· Optionally escape all output of = by default. Set the escapeHtmlByDefault configuration variable.
· New never-escaped != recommended for when you want to output strings that contain HTML.

Via: Haml.js 0.4.3






0 Comment:
Post a Comment