Nothing happens on MarkdownPreview
See original GitHub issueThanks for this plugin!
When I run MarkdownPreview
on a .md
in neovim v0.3.4 nothing happens for me after I install this plugin and I’m not sure how to debug it.
I have installed the package with dein
and use the default config from the Readme.
Running checkhealth
produces,
health#mkdp#check
========================================================================
- INFO: Platform: linux
- INFO: Nvim Version: NVIM v0.3.4
- INFO: Node version: v10.15.2
- INFO: Script: /home/rth/.cache/dein/repos/github.com/iamcco/markdown-preview.nvim/app/server.js
- INFO: Script exists: 1
- OK: Using node
and I also have tried adding the following to .config/nvim/init.vim
let $NVIM_MKDP_LOG_FILE = expand('~/mkdp-log.log')
let $NVIM_MKDP_LOG_LEVEL = 'debug'
but this file is not created. Same thing happens (i.e. nothing) when I set,
let g:mkdp_auto_start = 1
and try to edit/save markdown file.
Is there any other things I should try to debug it (or log files that I can look at)? Thank you!
Edit: another possibly relevant information is that
- I am using neovim on a remote Ubuntu 19.04 server.
- I can see that
MarkdownPreview
command is only available for markdown files, running it on any other file produces “E492: Not an editor command: MarkdownPreview”, so at least the file type detection is working.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:40 (9 by maintainers)
Top Results From Across the Web
Markdown preview button does nothing · Issue #31038 - GitHub
Open a markdown file. Click the open preview button. Expected result: A preview is shown to the side. Actual result: Nothing happens.
Read more >Mardown plugin doesn't show preview
Hey there,. as described above my WebStorm IDE doesn't show up the preview tab for markdown files anymore. This happens with any .md...
Read more >VSCode markdown preview blank on launch from command ...
from the command line into VSCode, the files fail to render using markdown preview button. The previw window opens and is blank. When...
Read more >Troubleshooting - Dendron
Preview not Rendering Correctly. causes: Using the built-in preview instead of the Dendron preview; fixes: Use Dendron Markdown Preview ...
Read more >Troubleshooting - GitBook Documentation
I have a GitHub sync error · GitBook is not using my docs folder · GitBook is creating new markdown files · My...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Unknown-Chinese-User do
:call mkdp#util#install()
again.Running
:messages
listed a JS errorcannot-find-module-tslib
, leading me to believe an unstable build.After I removed, reinstalled this plugin, and tested it with and without yarn, the issues was fixed for both cases.
Testing machine: Ubuntu 18.