markdown-preview.nvim icon indicating copy to clipboard operation
markdown-preview.nvim copied to clipboard

preview multi files support

Open durd07 opened this issue 4 years ago • 1 comments

when I open markdown-preview, it shows the preview in http://127.0.0.1:8929/page/1 then I open another file, it shows in another chrome tab like http://127.0.0.1:8929/page/3,

Is it possible to preview always in one chrome tab and auto refresh it when I open another file?

like what does https://github.com/euclio/vim-markdown-composer works?

durd07 avatar Apr 09 '21 04:04 durd07

like what does https://github.com/euclio/vim-markdown-composer works?

durd07 avatar Apr 09 '21 06:04 durd07

@iamcco great plugin, so plz add this function! I scrolled between files today and sadly found that I have to adjust the browser tabs every time. A cup of milktea has sent to you, hope that could stir up your ethusiasm to improve this repo!😉

RocketMaDev avatar Oct 12 '23 16:10 RocketMaDev

" combine preview window
" default: 0
" if enable it will reuse previous opened preview window when you preview markdown file.
" ensure to set let g:mkdp_auto_close = 0 if you have enable this option
let g:mkdp_combine_preview = 0

iamcco avatar Oct 15 '23 00:10 iamcco

It seems that i need to switch on mkdp auto start in order to have a fluent experience.

RocketMaDev avatar Oct 15 '23 01:10 RocketMaDev

I have add g:mkdp_combine_preview_auto_refresh option which default is 1.

iamcco avatar Oct 15 '23 05:10 iamcco

非常好改进,爱来自火箭😉

RocketMaDev avatar Oct 15 '23 12:10 RocketMaDev