0

I am using a setup where I keep a journal in markdown and have latex code. The trouble is that inside the latex code there are signs that are read as markdown operations and this causes vim to draw some syntax over the second "<".

Is there a way to prevent all syntax highlighting within two pairs of $?

# TEST
* $a < b < c $
ychnh
  • 197
  • 1
  • 12
  • 1
    Does it help https://stackoverflow.com/questions/32865744/vim-syntax-and-latex-math-inside-markdown ? – Draco Ater Jul 22 '21 at 13:19
  • 1
    Thanks! After some more digging around, it seems like it depends on which vim markdown plugin one is using. I use vim-markdown and the option for me was let g:vim_markdown_math = 1 – ychnh Jul 23 '21 at 00:40

0 Answers0