Trying to write a new Magic Numbered Headings extension