sponsor Vim development Vim logo Vim Book Ad

pdc.vim : Syntax file for Pandoc

 script karma  Rating 36/18, Downloaded by 2207    Comments, bugs, improvements  Vim wiki

created by
jeremy schultz
script type
Syntax file for Pandoc, file structure is similar to markdown, but it allows for LaTeX and other features.

It can read markdown and (subsets of) reStructuredText, HTML, and LaTeX, and it can write markdown, reStructuredText, HTML, LaTeX, ConTeXt, PDF, RTF, DocBook XML, OpenDocument XML, ODT, GNU Texinfo, MediaWiki markup, groff man pages, and S5 HTML slide shows.

See http://johnmacfarlane.net/pandoc/
install details
Save the file in your ~/.vim/syntax/ directory.

In vim use :set syntax=pdc


Add create a file in ~/.vim/ftdetect/ called pdc.vim, that contains:
" Pandoc
au! Bufread,BufNewFile *.pdc    set filetype=pdc

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
pdc.vim 1.2 2008-11-04 6.0 jeremy schultz -   Fixed an issue with Block elements (header) not being highlighted when placed on the first or second line of the file
-   Fixed multi line HTML comment block
-   Fixed lowercase list items
-   Fixed list items gobbling to many empty lines
-   Added highlight support to identify newline (2 spaces)
-   Fixed HTML highlight, ignore if the first character in the angle brackets is not a letter
-   Fixed Emphasis highlighting when it contained multiple spaces
pdc.vim 1.0 2008-10-02 6.0 jeremy schultz Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo