X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/cdc8503c8138c04c1f40dcc888a83dc8b8039528..33cf9894dec8264f6461357254c7622006459810:/README.md diff --git a/README.md b/README.md index 0a81bb3..9f93316 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ Syntax highlighting, matching rules and mappings for [the original Markdown](http://daringfireball.net/projects/markdown/) and extensions. 1. [Installation](#installation) +1. [Basic usage](#basic-usage) 1. [Options](#options) 1. [Mappings](#mappings) 1. [Commands](#commands) @@ -13,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' @@ -178,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`: @@ -276,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: