X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/f19506b1bfe5e60c39581dd53f6913a09385f5dd..33cf9894dec8264f6461357254c7622006459810:/README.md diff --git a/README.md b/README.md index 982248e..9f93316 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Syntax highlighting, matching rules and mappings for [the original Markdown](htt ## Installation -If you use [Vundle](https://github.com/gmarik/vundle), add the following line to your `~/.vimrc`: +If you use [Vundle](https://github.com/gmarik/vundle), add the following lines to your `~/.vimrc`: ```vim Plugin 'godlygeek/tabular' @@ -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`: @@ -277,6 +283,14 @@ JSON syntax highlight requires [vim-json](https://github.com/elzr/vim-json). let g:vim_markdown_json_frontmatter = 1 ``` +#### Strikethrough + +Strikethrough uses two tildes. `~~Scratch this.~~` + +```vim +let g:vim_markdown_strikethrough = 1 +``` + ### Adjust new list item indent You can adjust a new list indent. For example, you insert a single line like below: