vscode 连接好wsl
使用Open in External App
一个五星好评的插件Open in External App则可以在vscode中用typora打开md文件,不仅如此,还有设定其他应用打开相应的文件,比如chrome打开html。插件食用方法也比较简单,安装后,在settings.json中将以下内容添加进去,注意在windows要更改 "openCommand"命令对应的程序路径:
"openInExternalApp.openMapper": [{"extensionName": "md","apps": [{"title": "typora","openCommand":"/mnt/d/tools/Typora/Typora.exe""}]},
]
添加好之后,右击 md 文件即可看到 Open in External App 选项,点击即可跳转到typora。
参考:
https://blog.csdn.net/qq_29856169/article/details/117854577
https://blog.csdn.net/JohnJim0/article/details/106284673