add extract_headings plugin