iamcco / markdown-preview.nvim

markdown preview plugin for (neo)vim
MIT License
6.82k stars 284 forks source link

The previewer shows an empty document #475

Open f1rstlady opened 2 years ago

f1rstlady commented 2 years ago

May be a duplicate of #482 by now.

Describe the bug After opening the preview with :MarkdownPreview or MarkdownPreviewToggle, an empty preview is shown despite the document being non-empty.

To Reproduce

  1. Install the latest version of this plugin. (According to a bisect, commit 8d7ce92b introduced this bug)
  2. Open a non-empty markdown document.
  3. Open the preview by :MarkdownPreview or :MarkdownPreviewToggle.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots 20220603-122718

Desktop (please complete the following information):

Log: Where do I find it?

pgosar commented 2 years ago

Same thing is happening to me, did you find a fix? For me it is still happening if I use some of the older commits.

f1rstlady commented 2 years ago

Same thing is happening to me, did you find a fix? For me it is still happening if I use some of the older commits.

No, I did not find a fix unfortunately.

Karmenzind commented 2 years ago

Same here on Archlinux. And I tried ./app/bin/markdown-preview-linux --path ./app/server.js in plugin dir and it raised segmentation fault.

~/.vim/plugged/markdown-preview.nvim  ‹master*› $ ./app/bin/markdown-preview-linux --path ./app/server.js 
[1]    2418941 segmentation fault  ./app/bin/markdown-preview-linux --path ./app/server.js