mirror of
https://github.com/beautifier/js-beautify.git
synced 2025-02-01 18:42:40 +00:00
Einar Lielmanis
8deddc851b
Experimental "keep array indentation" feature
This feature allows retaining the indentation in cases like this: var markup = [ '<div>', '<span>Hello World</span>', some_variable, '</div> ].join(''); when merging it together would be very undesirable. The option is defined as "keep_array_indentation" flag in parameters for js_beautify().
Description
Languages
JavaScript
42.7%
HTML
36%
Python
13.2%
Mustache
5%
Shell
2.6%
Other
0.5%