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 would like a "join" option, so that multi-line strings could be both dedented and joined into a single line.
Example:
example = dedent(' ', `
This is a
multiline string
that is joined with spaces
instead of newlines.
`); // "This is a multiline string that is joined with spaces instead of newlines."
A little backstory, I actually have my own dedent function implemented in several projects, and use it constantly! I found this repo when thinking about publishing my dedent. I'm glad to see it already exists!
This 'join' feature is something I use quite often, too, so I'm hoping its something I could add to this project.
Let's discuss?
The text was updated successfully, but these errors were encountered:
I would like a "join" option, so that multi-line strings could be both dedented and joined into a single line.
Example:
A little backstory, I actually have my own
dedent
function implemented in several projects, and use it constantly! I found this repo when thinking about publishing mydedent
. I'm glad to see it already exists!This 'join' feature is something I use quite often, too, so I'm hoping its something I could add to this project.
Let's discuss?
The text was updated successfully, but these errors were encountered: