1 repository
Using data structures like hashes to define and expand HTML element attributes.
Distinct from HTML Attribute Extensions: Distinct from attribute extensions by focusing on the mapping of Ruby hashes to HTML attributes.
Explore 1 awesome GitHub repository matching web development · Attribute Mapping. Refine with filters or upvote what's useful.
Haml is a Ruby HTML template engine and server-side rendering library. It functions as an HTML markup preprocessor that transforms a concise, indentation-based shorthand syntax into standard HTML and XHTML markup. The system uses hierarchical whitespace instead of explicit closing tags to define the structure of documents, reducing boilerplate during markup authoring. It integrates Ruby logic directly into templates to evaluate conditional statements, process dynamic data, and interpolate values. The engine provides tools for managing element attributes through hashes, controlling output whi
Enables the definition of HTML attributes using Ruby hashes with support for boolean values and recursive expansion.