[Bug] does not work well in the codeblock of markdown file
draftman9 opened this issue · 6 comments
Describe the bug
I code some python codes in the codeblock of markdown. But the rainbow plugin did not work in the area.
To Reproduce
- create a test.md
- code some python codes in the codeblock
File: test.md`, filetype=markdown
a=1
b=[1,2,[2,3]]
print(a,b(2))
Expected behavior
The (
and [
should be different colors.
Screenshots
Additional context
Are you using some 3rd party plugin for markdown highlighting?
Are you using some 3rd party plugin for markdown highlighting?
Maybe. I filtered some plugins( does not work well when I install these plugins):
call plug#begin('~/vimfiles/plugged')
Plug 'godlygeek/tabular'
Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app && yarn install' }
Plug 'lervag/vimtex'
Plug 'KeitaNakamura/tex-conceal.vim'
Plug 'sheerun/vim-polyglot'
Plug 'luochen1990/rainbow'
call plug#end()
Seems like 'iamcco/markdown-preview.nvim' did some trick to markdown syntax, maybe you can check it out via the troubleshooting tools in README
Seems like 'iamcco/markdown-preview.nvim' did some trick to markdown syntax, maybe you can check it out via the troubleshooting tools in README
I do not know what is troubleshooting. And I only installed the Rainbow plugin by commenting other all plugins. But it still does not work in the .md file.
Have you tried :RainbowToggleOn
?