markdown-toclify icon indicating copy to clipboard operation
markdown-toclify copied to clipboard

preserve newline before EOF

Open johnyf opened this issue 8 years ago • 1 comments

As observed with git diff, markdown-toclify consumes the newline at the end of a file. It seems that the final newline is ignored when reading the file, and not appended when forming the output.

johnyf avatar Mar 30 '17 05:03 johnyf

Thanks for your feedback @johnyf (regarding this and the other issues you recently opened). I am currently a bit too involved in other projects so that I probably can't get to it immediately, but I will try to address some of these points in future. In the meantime, I'd welcome pull requests if you have some good solutions in mind :)

rasbt avatar Mar 31 '17 15:03 rasbt