Prettifies EEx HTML files in an opinionated way. Prettifies both the HTML and the embedded Elixir code.
Just run prettieex
mix prettieex
and it will prettify all the .html.eex files under lib directory.
The only allowed parameter is the path, for example:
mix prettieex "lib/**/*.html.eex"
The package can be installed by adding prettieex
to your list of dependencies in mix.exs
:
def deps do
[
{:prettieex, github: "sonercirit/prettieex", ref: "master", only: :dev}
]
end