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

New line seem not following os

Open mingteoh opened this issue 4 years ago • 2 comments

i am on mac, and when i populate new toc, it produces 1 line code instead of line break properly. vsc was on LF mode

mingteoh avatar Feb 25 '21 00:02 mingteoh

@mingteoh I found that this happens when "files.eol" param is undefined or defined with "auto" value in editor settings file (setting.json). default_value

I think "files.eol": "\n" shoud help you.

defined_value

imh0t3mp avatar Apr 01 '21 11:04 imh0t3mp

Seems #80 would resolve the issue.

borgmanJeremy avatar Apr 27 '21 15:04 borgmanJeremy