alanwalk / markdown-toc

MarkdownTOC(Table Of Contents) Plugin for Visual Studio Code.
MIT License
141 stars 111 forks source link

New line seem not following os #96

Open mingteoh opened 3 years ago

mingteoh commented 3 years ago

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

imh0t3mp commented 3 years ago

@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

borgmanJeremy commented 3 years ago

Seems #80 would resolve the issue.