View Source Marker.HTML (marker v2.0.4)
All HTML elements are generated in this module.
To use the element macros outside of components and templates, use use Marker.HTML
instead of import Marker.HTML
to import them in to the current scope.
The use
macro automatically handles any ambiguities between html elements and the funcions from Kernel
. Kernel.div/2
for example is unimported to allow the use of the div
element.
If you still need to use Kernel.div/2
, just call it as Kernel.div(20, 2)