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 tried to achieve that with your lib but line breaks right now seem to be all or nothing.
My input, pasted below, exceeds the line length so each array value gets it's own line. Might help the 40+ devs on that thread.
Also, a simple webpage with a textarea demo would be great, so if I just wanted to reformat 1 document or to kick the tires i didn't have to go through NPM and the whole shebang.
I found this lib after hitting an issue where Prettier does not format long arrays well (prettier/prettier#4210).
One user had a great suggestion:
I tried to achieve that with your lib but line breaks right now seem to be all or nothing.
My input, pasted below, exceeds the line length so each array value gets it's own line. Might help the 40+ devs on that thread.
Also, a simple webpage with a textarea demo would be great, so if I just wanted to reformat 1 document or to kick the tires i didn't have to go through NPM and the whole shebang.
The text was updated successfully, but these errors were encountered: