Support YAML headers

Some markdown variants (eg. pandoc) are able to parse YAML headers