When looking for a heading using a non-standard format, parse the markup into HTML first and look for the first heading element
Allow .md and .markdown file extensions