Fix markdown: getting error if the file contains Jekyll's YAML Front Matter

Reported on #36
Fix markdown supports h1 to h6