2 repository-uri
Syntax for injecting and evaluating Ruby expressions directly within a template to produce dynamic content.
Distinct from Expression Embeddings: Specializes general expression embeddings to the Ruby language specifically.
Explore 2 awesome GitHub repositories matching web development · Ruby. Refine with filters or upvote what's useful.
Slim este un limbaj de template concis, bazat pe indentare, și un motor de markup pentru generarea HTML și XML. Conceput pentru ecosistemul Ruby, acesta convertește sintaxa shorthand în documente bine formate, fără a fi nevoie de tag-uri de închidere tradiționale. Motorul funcționează ca un wrapper multi-engine, permițând integrarea motoarelor de randare externe precum Markdown și Sass într-un singur fișier template. De asemenea, oferă o interfață în linie de comandă pentru randarea template-urilor și convertirea acestora între diferite formate de markup. Sistemul suportă generarea de conținut dinamic prin logica Ruby încorporată, inclusiv bucle, condiționale și interpolarea expresiilor. Include capabilități pentru dezvoltarea UI modulară prin fragmente de template reutilizabile, precum și instrumente specializate pentru gestionarea spațiilor albe, generarea doctype și maparea colecțiilor de date către atributele elementelor.
Enables inserting the result of Ruby code calls directly into markup with controls for escaping and whitespace.
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
Injects and evaluates Ruby expressions directly within templates to produce dynamic content.