the preview window not closed when view a js file after preview a file of md
Hello,
Well, it's designed like that. It's not a problem.
You can close the preview panel by yourself or toggle the preview by command 'Markdown Preview Enhanced: Toggle Preview'
Thanks
@shd101wyy I think when I close .md tab, the preview pane should close automatically.
@zhiquan-yu yea make sense, might be changed in next release.
thanks :)
@shd101wyy Now I think when I close .md tab, the preview pane should not close automatically. It should show the preview of the .md file, rather than empty.

Please see markdown-preview's behavior.
Most helpful comment
@zhiquan-yu yea make sense, might be changed in next release.
thanks :)