Temple.temple

You're seeing just the macro temple, go back to Temple module for more information.

Context for temple markup.

Returns an EEx string that can be passed into an EEx template engine.

Usage

import Temple

temple do
  div class: @class do
    "Hello, world!"
  end
end

# <div class="<%= @class %>">
#   Hello, world!
# </div>