在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):jtratner/vim-flavored-markdown开源软件地址(OpenSource Url):https://github.com/jtratner/vim-flavored-markdown开源编程语言(OpenSource Language):Vim Script 100.0%开源软件介绍(OpenSource Introduction):Vim-Flavored-MarkdownAdd-on to Tim Pope's a syntax plugin that extends the Tim Pope's markdown syntax file to recognize github code blocks like:
It also colors Finally, it no longer highlights multiple underscores, i.e.:
InstallBest way - use PathogenIf you use Pathogen, you can just clone this into your bundles cd ~/.vim/bundle
git clone git://github.com/jtratner/vim-flavored-markdown.git Otherwise, copy the file to your syntax foldercurl https://raw.githubusercontent.com/jtratner/vim-flavored-markdown/master/syntax/ghmarkdown.vim -o ~/.vim/syntax/ghmarkdown.vim Use flavored-markdown by defaultAdd the following augroup markdown
au!
au BufNewFile,BufRead *.md,*.markdown setlocal filetype=ghmarkdown
augroup END See it in actionAfter installing, open up this readme, and you'll see fenced awesomeness. LicenseMIT Contributors to Vim-Flavored-MarkdownVim-Flavored-Markdown author: Jeff Tratner (jtratner) markdown.vim author: Tim Pope (tpope) Along with all of the various contributors to markdown.vim Thanks to @dankosaur, @knewter, and @Niggler for contributing. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论