You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Elixir code within <% %> or <%= %> is not formatted.
Example
Input
<navclass="navbar"><divclass="navbar-group"><divclass="navbar-item"><divclass="buttons"><%=casesomethingdo%><%nil->%><%=some_function("foo",:bar,"boo","goo","blah","bleh","are we there yet?","come ooooon!","how much further?","I'm borrrred!!") %><%_->%><%=boring(:bleh) %><%end %></div></div></div></nav>
Output
<navclass="navbar"><divclass="navbar-group"><divclass="navbar-item"><divclass="buttons"><%=casesomethingdo%><%nil->%><%=some_function("foo",:bar,"boo","goo","blah","bleh","are we there yet?","come ooooon!","how much further?","I'm borrrred!!") %><%_->%><%=boring(:bleh) %><%end %></div></div></div></nav>
The tags are correctly formatted, but none of the Elixir code is touched.
We probably don't want to reimplement mix format, so maybe we could pass the code snippets between prettier and the Elixir formatter?
The text was updated successfully, but these errors were encountered:
Elixir code within
<% %>
or<%= %>
is not formatted.Example
Input
Output
The tags are correctly formatted, but none of the Elixir code is touched.
We probably don't want to reimplement
mix format
, so maybe we could pass the code snippets between prettier and the Elixir formatter?The text was updated successfully, but these errors were encountered: