Watch
1
0
Fork
You've already forked vim-markdown
0
mirror of https://github.com/tpope/vim-markdown.git synced 2026-11-17 02:11:43 +00:00
Vim Markdown runtime files
  • Vim Script 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-12-21 12:05:17 -05:00
.github Add sponsor button 2019-11-12 19:30:03 -05:00
ftdetect add .mdwn file extension 2018-02-04 23:47:43 -05:00
ftplugin Fix fold inside code fences 2023-04-02 13:30:41 -04:00
syntax Allow colons after language identifiers in fenced code blocks 2024-12-21 12:05:17 -05:00
README.markdown readme: Upstream matches *.md to Markdown 2019-03-12 23:54:34 -04:00

Vim Markdown runtime files

This is the development version of Vim's included syntax highlighting and filetype plugins for Markdown. Generally you don't need to install these if you are running a recent version of Vim.

If you want to enable fenced code block syntax highlighting in your markdown documents you can enable it in your .vimrc like so:

let g:markdown_fenced_languages = ['html', 'python', 'bash=sh']

To disable markdown syntax concealing add the following to your vimrc:

let g:markdown_syntax_conceal = 0

Syntax highlight is synchronized in 50 lines. It may cause collapsed highlighting at large fenced code block. In the case, please set larger value in your vimrc:

let g:markdown_minlines = 100

Note that setting too large value may cause bad performance on highlighting.

License

Copyright © Tim Pope. Distributed under the same terms as Vim itself. See :help license.