We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Elixir code within <% %> or <%= %> is not formatted.
<% %>
<%= %>
<nav class= "navbar"> <div class ="navbar-group"> <div class="navbar-item"> <div class="buttons" > <%= case something do %> <% 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>
<nav class="navbar"> <div class="navbar-group"> <div class="navbar-item"> <div class="buttons"> <%= case something do %> <% 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?
mix format
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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: