From: Hiroshi Shirosaki Date: Thu, 16 Mar 2017 08:25:40 +0000 (+0900) Subject: Add document for math conceal #277 X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/2cd50d2ca657091c6aa787a3847284fb4cceff49?ds=sidebyside Add document for math conceal #277 --- 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 ~