2 个仓库
Custom syntax patterns used to inject non-standard attributes or CSS classes into generated HTML elements.
Distinct from HTML Attribute Bindings: None of the candidates cover the specific case of using curly-brace markdown syntax to assign HTML attributes; most relate to code-style braces or reactive data binding.
Explore 2 awesome GitHub repositories matching web development · HTML Attribute Extensions. Refine with filters or upvote what's useful.
Markdig 是一个用于 .NET 应用的高性能 Markdown 处理器,可将 Markdown 文本转换为 HTML 或其他目标格式。它是一个符合 CommonMark 标准的解析器和可扩展引擎,能够将 Markdown 转换为可搜索和可操作的抽象语法树。 该库提供了一个框架,通过解析器和渲染器的模块化流水线来添加自定义语法和渲染逻辑。它支持原生提前编译(AOT)和修剪(trimming),以最大限度地减小二进制体积。 功能包括生成带有自定义属性和样式的结构化 HTML、提取用于静态站点处理的 YAML 前置元数据(front matter),以及将内容转换为纯文本。该引擎还涵盖了排版增强、数学公式准备和自动化链接格式化。 该处理器包含精确的源映射以跟踪字符跨度,并采用输出流和嵌套深度限制来管理性能和稳定性。
Markdig adds CSS classes and IDs to elements using a special curly-brace syntax.
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.