masukomi / vim-markdown-folding

Fold markdown documents by section.
248 stars 43 forks source link

FIX: Correct parsing for Setext-style header underline #4

Closed inkarkat closed 10 years ago

inkarkat commented 11 years ago

According to John Gruber's spec and the Stack Overflow parser, the underlining of H1 / H2 using equal signs / dashes requires 1+ instances (not 3+), and the line must not contain anything else.