marker v1.1.1 API Reference

Modules

Marker

Marker.Compiler renders the element macros to html. It tries do as much work during macro expansion, resulting in a run time performance comparible to precompiled templates

Marker provides components as a convenient abstraction. Under the hood components define a macro, that can be called just like elements, that calls a hidden template function containing the body of the component. The component macro provides two variables: content and attrs. content contains expressions from the do block and is always a list. attrs contains the attributes and is always a map

This module is responsible for generating element macro’s. Marker generates by default all html5 elements, but you can easily generate other elements too

Protocols

The Marker Encoder protocol