iamcco / iamcco/markdown-preview.nvim
[Help] preview html function not work after a quit command
- Dominant language
- JavaScript
- Stars
- 8k
- Forks
- 411
- PR merge metrics
- No merged PRs in 30d
Description
This plugin works well for normal use. But I have a special situation that the markdown file to preview is created by other command.
So I just don't want to see the temporary markdown file, only want to check the preview created by this plugin.
I want to use a vimL function to do this:
```
function! PreviewJupyterMD()
command that create a md file and load it to a buffer
call mkdp#util#open_preview_page()
exec ":q"
endfunction
```
But if I add `exec ":q"` to this function, seems only load the file but not turn it to html.

After I delete `exec ":q"`, all good.

But I do wanna delete the buffer/window by function.
Thanks in advance!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.