Temple.compile
You're seeing just the macro
compile
, go back to Temple module for more information.
Compiles temple markup into a quoted expression using the given EEx Engine.
Returns the same output that Phoenix templates output into the render/1
function of their view modules.
Usage
require Temple
Temple.compile Phoenix.HTML.Engine do
div class: @class do
"Hello, world!"
end
end