From 2cd50d2ca657091c6aa787a3847284fb4cceff49 Mon Sep 17 00:00:00 2001 From: Hiroshi Shirosaki Date: Thu, 16 Mar 2017 17:25:40 +0900 Subject: [PATCH] Add document for math conceal #277 --- README.md | 7 +++++++ doc/vim-markdown.txt | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/README.md b/README.md index 3f0e8d8..0d03b34 100644 --- a/README.md +++ b/README.md @@ -150,6 +150,13 @@ To disable conceal regardless of `conceallevel` setting, add the following to yo let g:vim_markdown_conceal = 0 ``` +To disable math conceal with LaTeX math syntax enabled, add the following to your `.vimrc`: + +```vim +let g:tex_conceal = "" +let g:vim_markdown_math = 1 +``` + ### Fenced code block languages You can use filetype name as fenced code block languages for syntax highlighting. diff --git a/doc/vim-markdown.txt b/doc/vim-markdown.txt index 2601da1..c6d579e 100644 --- a/doc/vim-markdown.txt +++ b/doc/vim-markdown.txt @@ -167,6 +167,12 @@ your '.vimrc': > let g:vim_markdown_conceal = 0 < +To disable math conceal with LaTeX math syntax enabled, add the following to +your '.vimrc': +> + let g:tex_conceal = "" + let g:vim_markdown_math = 1 +< ------------------------------------------------------------------------------- *vim-markdown-fenced-code-block-languages* Fenced code block languages ~ -- 2.39.5