Markdown writer: Support Ext_auto_identifiers and Ext_header_attributes.