背景
- 操作系統:Windows 10 企業版LTSC
- 插件:https://github.com/AlanWalk/markdown-toc
- 插件市場:https://marketplace.visualstudio.com/items?itemName=AlanWalk.markdown-toc
- VScode: 1.44.0
使用該插件自動生成TOC,但發現是一大坨很亂的字。仔細觀察發現沒有換行,而且出現很多'audo'字符。

解決
參考:https://github.com/AlanWalk/markdown-toc/issues/89
- 打開設置
- 搜索eol
- 改為'\n'

再生成的就是正常的:

