Spinneret: A modern Common Lisp HTML generator

Spinneret is a modern Common Lisp HTML generator that targets HTML5 and treats XML and HTML as separate entities. It is designed to make HTML generation easy to refactor into separate functions and macros, and produces output that is readable and follows the coding style of HTML5. Spinneret is agressive in interpreting HTML and Lisp forms, favoring convenience over correctness. It provides features like printing style control, line wrapping, and inserted spaces that can be customized to suit the needs of the developer. Spinneret also allows for dynamic output with the use of pseudo-attributes like :attrs and pseudo-tags like :TAG. It supports Markdown formatting and can be used in conjunction with Parenscript or as a Parenscript library. Spinneret provides a macro-writing macro called deftag that simplifies the process of building HTML abstractions. It also warns about invalid tags and attributes at compile time, with the option to turn off validation for specific prefixes or altogether.

https://github.com/ruricolist/spinneret

To top