nvim plugin - MakrdownPreview: can't preview
Env:
Nvim: v0.11.2 & Lazyvim
Terminal: Kitty
OS: Arch Linux
How did I do
Create a .lua file in the following directory: ~/.config/nvim/lua/plugins/markdown-preview.lua
Then add the following code:
return { |
Reopen nvim and run: Lazy sync
Edit a markdown file:
# Hello |
I got this message: Nodejs v24.0.2
after run this command in nvim: MarkdownPreview
Search in MarkdownPreview repo and found this issue: https://github.com/iamcco/markdown-preview.nvim/issues/695
I tried like this issue and it worked!
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 TroyMitchell's blog!