Interpolating Elixir in Haml
nurugger07 opened this issue · comments
Interpolating Elixir in Haml
I've added support for string interpolation in both attributes and content.
With the following haml:
%h1 Welcome to #{title}
Calling render with a title arg compiles to the following:
<h1>Welcome to Calliope</h1>
also you can assign attributes:
%a{href: url}