SmartIndentationEngine (SmartIndentationEngine v0.1.0)
View SourceA custom EEx engine that helps maintain proper indentation.
This engine extends the EEx.SmartEngine functionality and adds support for the
pipe marker (<%|) which can be used like this:
<%| if cond do %>
Some text
<% end %>This marker will reindent the output of the block so that it's aligned with
indentation of the if line.