allow Type heading to be specified in Markdown generation