From e8a6e373f2142942b5ac2b106e786e9d8b66ad95 Mon Sep 17 00:00:00 2001 From: larryhynes Date: Mon, 12 Oct 2015 23:31:06 +0100 Subject: [PATCH 1/2] Add note on fenced code block highlighting to README.md --- README.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.markdown b/README.markdown index 055b8de..282f6a9 100644 --- a/README.markdown +++ b/README.markdown @@ -11,6 +11,10 @@ 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: + + let g:markdown_fenced_languages = ['html', 'python', 'bash=sh'] + ## License Copyright © Tim Pope. Distributed under the same terms as Vim itself. From 64e5a2f200225cb13364a67d2477d21abe03843d Mon Sep 17 00:00:00 2001 From: larryhynes Date: Tue, 13 Oct 2015 00:17:19 +0100 Subject: [PATCH 2/2] Fix wrap on note on fenced code blocks in README.md --- README.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index 282f6a9..3660da3 100644 --- a/README.markdown +++ b/README.markdown @@ -11,7 +11,8 @@ 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: +If you want to enable fenced code block syntax highlighting in your markdown +documents you can enable it in your `.vimrc` like so: let g:markdown_fenced_languages = ['html', 'python', 'bash=sh']