Hello, is it possible to get all headings from a string in an extension? I need this for autogenerating a table of contents. Thank you in advance