iamcco / iamcco/markdown-preview.nvim

coc-leetcode插件的problem详情和comments详情的markdown不能预览

Open
#357 1 comment 0 reactions 0 assignees View on GitHub
can't reproduce
Dominant language
JavaScript
Stars
8k
Forks
411
PR merge metrics
No merged PRs in 30d

Description

**问题**
类似`vim README.md`打开markdown文件可以正常预览. coc-leetcode插件的problem详情和comments的markdown不能预览.

**重现**
Steps to reproduce the behavior:
1. `CocList LeetcodeProblem`打开列表, 随意选某一个问题
2. 在问题详情buffer里`:MarkdownPreview`, 浏览器会打开一个页面, 不过是空白的
3. 在comment页面`:MarkdownPreview`, 也是同样情况

**期望**
希望可以正常预览leetcode问题和评论, 有时候里面会包含一些图片, 如果可以在浏览器预览的话会更直观.

**:mess信息**
一直重复下面几行Error:
```
[markdown-preview.nvim] UnhandledRejection
TypeError: Cannot read property 'name' of undefined
[markdown-preview.nvim] UnhandledRejection
TypeError: Cannot read property 'name' of undefined
```

**环境:**
- OS: MAC
- Vim 8.23131
- coc-leetcode

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.