Since the location you mark in the text needs to be there as well, this is something better done in a plugin. The plugin could take the list of words, search and mark anywhere they are found in the text (not including index.html) and then a user would simply rebuild the index.
This is definitely doable in a plugin. Perhaps making a request on the Plugin Developers thread might prove useful.
|