I am working on a large project in google docs and would like to be able to be able to have a custom menu item in where I can put the word (for example Target) which I want all instances linked to something (in my case linked to the appropriate header within the document).
The end goal is to be able to quickly link all instances of a word to the appropriate section of the document. I can do this one at a time but with the already large size of the document doing it like that is not practical.
Below is the link of a bit of code (under CODE section) I found which seems like it should be able to search for the unlinked instances of a word and link them but I would like to make it useable via a menu item where I can put in the new word I want linked and then the appropriate link.