Skip to content

Opinionated EEx HTML prettifier/formatter for Elixir Phoenix

License

Notifications You must be signed in to change notification settings

sonercirit/prettieex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrettiEEx

Prettifies EEx HTML files in an opinionated way. Prettifies both the HTML and the embedded Elixir code.

Usage

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"

DISCLAIMER: This is not ready for production use. Use at your own risk.

Installation

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

About

Opinionated EEx HTML prettifier/formatter for Elixir Phoenix

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages