vim-pandoc/vim-pantondoc — pull request #8 by jtanguy (2014-01-02 15:44:37+00:00)
Title: Add YAML frontmatter folding

Since it can be useful for large frontmatters, I added them in the foldexpr function.
The solution to detect the start and the end of the frontmatter are kind of hacky though