Pandoc Markdown Vim syntax highlighting with more reasonable defaults and addition of smart quotes and other smart punctuation.
MIT License
The vim-pandoc-simple-syntax
standalone Pandoc syntax module is a fork from the vim-pandoc/vim-pandoc-syntax:
+conceal
pandoc
filetype (otherwise you'll have to set it up yourself).Add something like the following to your .vimrc
after installing the Plug
Vim package manager (all the others are rather dated and don't allow storing plugins separated):
call plug#begin('~/.vimplugins')
Plug 'vim-pandoc/vim-pandoc'
Plug 'rwxrob/vim-pandoc-syntax-simple'
call plug#end()
If you want to use vim-pandoc-syntax
without vim-pandoc, you'll need to tell Vim to load it for certain files. Just add something like this to your vimrc:
augroup pandoc_syntax
au! BufNewFile,BufFilePre,BufRead *.md set filetype=markdown.pandoc
augroup END
Supports most (if not all) Pandoc's markdown features, including tables, delimited codeblocks, references, etc.
Can handle multiple embedded languages (LaTeX, YAML headers, many languages in delimited codeblocks). Some commands are provided to help with this (see :help pandoc-syntax-commands
)
Pretty display using conceal
(optional).
Configurable (see :help pandoc-syntax-configuration
for an overview of the options).
Originally based on the vim-pandoc-syntax
.