Behavior upon pasting a link

How does one go about great a plugin that intercepts a pasted link and replaces it, depending on what the link is. For example, pasting in a Github Gist, etc.

Is “apps” the way to do this? Please point me in the right direction.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.