js-beautify
js-beautify copied to clipboard
Beautifier for javascript
# Description I'd like to request an option be introduced to allow preserving a self-closing tag's `/>` on its own line. This is so that VS Code can re-export this...
# Description I propose the addition of `include+` and `include-` properties in the configuration options, which respectively add and remove items from the `include` list. At the moment, only the...
# Description The Github action workflows are broken due to incompatible new version of NPM being run against Node. The offending code is below, it can easily be fixed if...
# Description Preserve all newlines in existing HTML. # Input With this requested feature, this input: ``` ``` # Expected Output Should give this output: ``` ``` ## Environment OS:...
# Description For 3 years, [SteamUI-OldGlory](https://github.com/Jonius7/SteamUI-OldGlory) has used the python library `jsbeautifier` to beautify the JS code included with Steam with no problems. However, in a recent update the beautifying...
Just want to edit how far closing brackets are indented. My only goal is to add +1 to **bracket-lines only**. Against default setting, my target format is: ``` .class { ...
# **DO NOT FILE USAGE QUESTIONS AS ISSUES** Review the [README.md](https://github.com/beautify-web/js-beautify/blob/main/README.md). If that does not help, join us on gitter: https://gitter.im/beautify-web/js-beautify . Beautifier.io works perfect for my needs when I...
The mustache support is a really nice feature. It would be great if the HTML beautifier also understood (and indented where required) Django template syntax. Given the following: ``` {%...
# Description > This is the default template for bug reports > > NOTE: > * Do not include screenshots! This library is a text processor, we need text inputs...
# Description I have a special JSON syntax allowing interpolations using `${env}` notation. Without the directive, beautify would split the interpolation apart across several lines. To mitigate this I add...