From 342f99b0cb762fd545749214710578f643e318a7 Mon Sep 17 00:00:00 2001 From: Stick Date: Tue, 4 Jun 2019 21:26:39 -0400 Subject: [PATCH] document `conceal_code_blocks` in README.md I set `conceallevel=0` in .vimrc, as well as `g:vim_markdown_conceal = 0` but code fences were still being hidden. I could not find this option documented anywhere, so I went to the source code. Adding the `g:vim_markdown_conceal_code_blocks = 0` fixed my problem, and I assume other people will want to find this in the future. --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b67917a..9f93316 100644 --- a/README.md +++ b/README.md @@ -179,7 +179,13 @@ set conceallevel=2 To disable conceal regardless of `conceallevel` setting, add the following to your `.vimrc`: ```vim -let g:vim_markdown_conceal = 0 +let g:vim_markdown_conceal = 0 +``` + +Disabling conceal for code fences requires an additional setting: + +```vim +let g:vim_markdown_conceal_code_blocks = 0 ``` To disable math conceal with LaTeX math syntax enabled, add the following to your `.vimrc`: -- 2.39.5