endent icon indicating copy to clipboard operation
endent copied to clipboard

Trim only one line at start and end

Open dword-design opened this issue 4 years ago • 0 comments

Currently endent trims all start and end newlines. But it would be more flexible to only trim max 1 newline. This way we can create newlines in the template string. Problem is that the logic is in dedent and my PR is not getting merged. Also, I don't know what the state of the project is. Maybe some feedback here how to proceed. Here is the link to my PR in dedent:

https://github.com/dmnd/dedent/pull/30

dword-design avatar Dec 22 '21 15:12 dword-design