mzlogin / vim-markdown-toc

A vim 7.4+ plugin to generate table of contents for Markdown files.
http://www.vim.org/scripts/script.php?script_id=5460
MIT License
609 stars 59 forks source link

Support multi-line quote block ending with a blank line (GFM) #64

Open BaksiLi opened 4 years ago

BaksiLi commented 4 years ago

According to GitHub Flavored Markdown Spec 5.1, a quote block can end in a blank line, as illustrated below:

> # Foo
> bar
baz

this is Example 210 of the official document.

However, if the regex pattern of vim-markdown-toc does not accept this.