iamcco / iamcco/markdown-preview.nvim

The previewer shows an empty document

Open
#475 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8k
Forks
411
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/20407973/171837121-1d479b51-b9ac-4b95-b9e5-ca729e391b3d.png)

**Desktop (please complete the following information):**
- OS: Arch Linux
- Kernel: Linux 5.18.1-arch1-1 SMP PREEMPT_DYNAMIC Mon, 30 May 2022 17:53:11 +0000 x86_64 GNU/Linux
- Neovim: v0.7.0

**Log:**
*Where do I find it?*

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.