Merge pull request #14 from blaenk/master

fix autoload module interpolation
Document g:pantodoc_use_pandoc_markdown

fixes issue #12
Separate syntax assisted and simple markdown folding functions.

Plus some minor cleanup.
folding: general cleanup, reorganization, initial work for foldtext
basic functionality for foldtext.
fold divs with specified classes

TODO: make it configurable.

fixes issue #18 partially.
simplified atx and textile headers folding rules
some cleanup
change g:pantondoc_use_pandoc_markdown default value to 1

should be less confusing. the option remains in case someone prefers
that behavior. should fix issue #12
improve divs folding

allow div class to be defined in single quotes.
only fold when a class is defined.
make prevention of folds within codeblocks more robust.
fix custom folds regression from last commit.
Fix typo
Merge pull request #19 from ehamberg/patch-1

Fix typo
implemented special foldtext funtions for markdown and textile filetypes
updated documentation
fix the case where yaml title header has spaces around the :
fixed processing of long options with equal sign

How to test:
:Pandoc! pdf --template=SOME_TMPL --smart

not fixed code will claim that option --template must not have an
argument

Fix for issue #20 is also added here
Merge pull request #21 from lyokha/master

fixed processing of long options with equal sign
fix for issue #23 in upstream

call slow synID() only when getline(v:lnum) matches fold patterns