From d7053febeb341f7e948c6b10b6b4ef6b318a17f4 Mon Sep 17 00:00:00 2001 From: Scott Olsen Date: Mon, 22 Oct 2018 15:09:43 -0400 Subject: [PATCH] Update the fenced codeblocks documentation. --- README.markdown | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index 5b2e7ba..ea6bf08 100644 --- a/README.markdown +++ b/README.markdown @@ -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