Extend markdown by assigning id attribute to headings