caramel

API Reference

caramel

CSS selector-based template engine for Common Lisp

CARAMEL

  • Function HTML-RESOURCE (input)
  • Function SELECT (selector node)
  • Function SET-ATTR (&rest atters)
  • Function REMOVE-ATTR (&rest atters)
  • Function ADD-CLASS (&rest class)
  • Function REMOVE-CLASS (&rest class)
  • Function CONTENT (&rest value)
  • Function HTML-CONTENT (html-str)
  • Function DO-> (&rest fns)
  • Function BEFORE (&rest nodes)
  • Function AFTER (&rest nodes)
  • Function SUBSTITUTE (&rest nodes)
  • Function PREPEND (&rest nodes)
  • Function APPEND (&rest nodes)
  • Function MOVE (src-selector dst-selector)
  • Macro CLONE-FOR (var lst &rest trans)
  • Macro DEFTEMPLATE (name file-path args &rest select-body-pair)
  • Macro DEFSNIPPET (name file-path selector args &rest select-trans-pair)
  • Function GET-ATTRS (node)
  • Function GET-ATTR (node name)
  • Function GET-CONTENT (node)