threedaymonk / htmlbeautifier

A normaliser/beautifier for HTML that also understands embedded Ruby. Ideal for tidying up Rails templates.
MIT License
325 stars 59 forks source link

Support for version option #57

Closed deepakmahakale closed 2 years ago

deepakmahakale commented 2 years ago

Support for version option

$ htmlbeautifier -v
1.3.1

$ htmlbeautifier --version
1.3.1

$ htmlbeautifier -h

.......
    -b, --keep-blank-lines NUMBER    Set number of consecutive blank lines
    -v, --version                    Display version and exit
    -h, --help                       Display this help message and exit
threedaymonk commented 2 years ago

Thanks, this seems useful!