Formatted files end up with no final newline
All of the markdown and mdx files I format with this tool end up with no final newline.
This is unexpected and interferes with how my other formatters such as Prettier work, resulting in a formatting loop (and eventual failure) when used through my meta linter Trunk.
Because of this, I'd like to request a flag that allows for keeping the final newline.
Hi Andrei, the extension was designed in a way that it should only touch the tables. If there was a new line after the table, then it will preserve it. See the tests test/systemTests/resources/formatMultipleDocuments-*.md: both the input + expected files have an empty line at the end. Please provide an example input when this behavior is not working as expected.
Closed due to inactivity