-1

Is there a way/plugin to enable syntax highlighting in .md files in Vim?

```js  //will highlight javascript

```py  //will do python etc
webduvet
  • 4,220
  • 2
  • 28
  • 39

1 Answers1

0

you can try:

  1. ':syntax on' then ':set syntax=markdown'
  2. you can try installing a plugin such as plastic boy. If you go ahead with this solution and it caused white space at the end of lines to be highlighted. Check out this fix: https://stackoverflow.com/a/10964847/14944117
Katout999
  • 61
  • 4