Overview:
Hiccup is a Clojure library used to represent HTML by using vectors for elements and maps for attributes. It provides a concise syntax and intelligent rendering for different HTML elements to cater to browser quirks.
Features:
- Representation: Uses vectors for elements and maps for attributes.
- Intelligent Rendering: Renders different HTML elements in different ways to accommodate browser variations.
- Convenient Syntax: Provides a CSS-like shortcut for denoting id and class attributes.
- String Escaping: Automatically escapes strings for safer output.
- Compatibility: Ensures backward compatibility with namespaces for Hiccup 1 and 2.
- Raw Function: Allows bypassing string escaping using the hiccup2.core/raw function.
- License: Distributed under the Eclipse Public License.