Is your feature request related to a problem? Please describe.
I use markdownItAnchor to add id and link on my headings. By default, the link is on a # symbol. It can be changed in the settings, for example with §. But if it's not a # it's displayed in the table of contents.
I suppose that it's because of this line in SimplifyResults.js:
const text = $(el).text().replace(' #', '')
Describe the solution you'd like
I would like a setting in the toc plugin, in order to let it know what is the element to remove.
Additional context
With #

With §
