Unlinked Mentions to Include All Heading

What I’m trying to do

So I understand that Unlinked Mentions will search all file names and mention any of them that are not currently linked. I would like this to apply to any headings I have created.

Here is an example, when I type the phrase “There are many fruits in this world”

The word fruits would trigger the unlinked header “Fruits” and would output a mentioned linked heading that looks something like this [[Food#Fruits]] because I have the following file.


Food (H3 Heading)

Fruits (H4 Heading)

  • Banana
  • Apple

Vegetables (H4 Heading)

  • Carrot
  • Beets

I have been trying to figure this out. As far as I know, this can only be achieved if I make separate files for each heading and use the default unlinked mention. Is there any way to use the unlinked mentions to search all the linked headings as well?

Thank you very much!

So you would like for any words in a sentence be searched for in any headings and providing a link to it?

I think you need to clarify a little on your use case…