Update the fenced codeblocks documentation.

This commit is contained in:
Scott Olsen
2018-10-22 15:09:43 -04:00
parent 4831a1241c
commit d7053febeb

View File

@@ -11,11 +11,13 @@ installing from this repository, add the following to your vimrc:
autocmd BufNewFile,BufReadPost *.md set filetype=markdown
If you want to enable fenced code block syntax highlighting in your markdown
documents you can enable it in your `.vimrc` like so:
To enable fenced code block syntax highlighting in your markdown
documents add the following to your vimrc:
let g:markdown_fenced_languages = ['html', 'python', 'bash=sh']
**Note**: The fenced language names must be valid names of syntax files in vim's `syntax` folder. For example: `syntax/ruby.vim`.
To disable markdown syntax concealing add the following to your vimrc:
let g:markdown_syntax_conceal = 0