2 个仓库
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 是一种简洁的、基于缩进的模板语言和标记引擎,用于生成 HTML 和 XML。它专为 Ruby 生态系统设计,将简写语法转换为格式良好的文档,无需传统的闭合标签。 该引擎作为一个多引擎封装器,允许在单个模板文件中集成 Markdown 和 Sass 等外部渲染引擎。它还提供了一个用于渲染模板并在不同标记格式之间进行转换的命令行接口。 该系统通过嵌入式 Ruby 逻辑支持动态内容生成,包括循环、条件判断和表达式插值。它包括用于通过可重用模板片段进行模块化 UI 开发的功能,以及用于空白管理、文档类型生成和将数据集合映射到元素属性的专门工具。
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.