Based on the other open issues posted here, it seems like everyone would benefit from more hooks.
In my case, it would be good to have hooks that fire throughout the highlighting process. I'm willing to implement a few of these and PR, but it's unclear to me based on reading the other code how one would implement a new hook within the highlighter.js module (ie, access the greater annotator app to runHook).
Is there a simplified explanation of the adding hooks process (not from the docs) or can someone provide one?
Based on the other open issues posted here, it seems like everyone would benefit from more hooks.
In my case, it would be good to have hooks that fire throughout the highlighting process. I'm willing to implement a few of these and PR, but it's unclear to me based on reading the other code how one would implement a new hook within the
highlighter.jsmodule (ie, access the greater annotator app torunHook).Is there a simplified explanation of the adding hooks process (not from the docs) or can someone provide one?