You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to be able to remove excess blank lines. I looked at the readme, all the options are CLI options. Where can I find the options for programmatic use instead of CLI use? I can't seem to find the docs for programmatic use.
Beautifier can remove blank lines between tokens using the preserve_newlines: false setting or limit the number of newlines using the max_preserve_newlines with a number value.
With this code in mind:
I'd like to be able to remove excess blank lines. I looked at the readme, all the options are CLI options. Where can I find the options for programmatic use instead of CLI use? I can't seem to find the docs for programmatic use.
I asked this question on SO...https://stackoverflow.com/questions/48273979/js-beautify-programmatic-options-api
The text was updated successfully, but these errors were encountered: