Can't get the :MarkdownPreview command anymore
See original GitHub issueDescribe the bug
I’m using :MarkdownPreview
since a few years in neovim, mostly without any issues. But today, I cannot use it, the :MarkdownPreview
command doesn’t show up anymore. I don’t use the markdown preview every day, so I don’t know since when it doesn’t work as expected.
I’m running archlinux (regularly updated).
I’m using neovim v0.4.4
, Markdown preview is up to date.
Node v.12.8.3.
Checkhealth is fine.
I tried to reinstall my plugins and to use a minimal init.vim for testing purpose:
" plugins (vim-plug)
call plug#begin('~/.config/nvim/plugged')
Plug 'arcticicestudio/nord-vim' " Nord color scheme
Plug 'sheerun/vim-polyglot'
Plug 'tpope/vim-sensible' " default settings
Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app & yarn install' } " Markdown preview
Plug 'vim-pandoc/vim-pandoc' " pandoc support
Plug 'vim-pandoc/vim-pandoc-syntax' " markdown syntax support
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
call plug#end()
" Filetype detection
filetype plugin on
" Format indentation
if has("autocmd")
filetype plugin indent on
endif
" Python provider in a pyenv
let g:python3_host_prog='/home/igor/.pyenv/versions/neovim3/bin/python'
" Pandoc
let g:pandoc#formatting#mode = "hA"
" airline
let g:airline_powerline_fonts = 1
let g:airline#extensions#wordcount#filetypes = 'pandoc\|text\|' "Add support when pandoc is activated
let g:airline_theme='nord'
" Syntax coloration and color theme
syntax enable
set background=dark
colorscheme nord
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (7 by maintainers)
Top Results From Across the Web
[v1.31] Markdown preview not working on Arch Linux #68354
Simply open a markdown file and try opening the preview, either via keyboard shortcuts or the preview button on the upper right.
Read more >VSCode: "Markdown Preview" SHIFT-COMMAND-P not working
make sure that your cursor is ACTIVE in your .MD markdown document, and NOT active on the filename in the Explorer Tree in...
Read more >Markdown preview on VSCODE - Reddit
To begin with, how do I preview a markdown file in real-time as I edit it? Apparently, (CTRL + K, V) is not...
Read more >How to use Markdown in Notepad++ - Super User
MarkdownViewer++ is a Notepad++ plugin that lets you type a file using Markdown and see the preview in real time, in a preview...
Read more >Cannot open Markdown files in IntelliJ 2020.1 : IDEA-237720
Specifically, it seems to be caused by importing the IDE configuration of a previous release that had a markdown file open. This results...
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
@iGormilhit Update and set
let g:mkdp_filetypes = ['markdown']
filetypes you want.There is many things to be read on the vim-pandoc repo. So I tried to move the
let g:pandoc#filetypes#pandoc_markdown = 0
before loading the vim-pandoc pluging and I can get the filetype I want. But, then, I don’t get any markdown formatting.Would it be possible, and a good idea, that
markdown-preview
could have a setting to recognize thepandoc
ormarkdown.pandoc
filetype ?