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

Allow config to be read from a file? #77

Open andyw8 opened 5 months ago

andyw8 commented 5 months ago

:wave: I'm running htmlbeautifier with VS Code via https://github.com/aliariff/vscode-erb-beautify

The extension has its own configuration mirroring the flags for htmlbeautifier. I think it could be useful if htmlbeautifier was able to read from a simple config file, so that the command line tool could share the same config as editor extensions/plugins.

cc @aliariff