And you can easily script it in Haskell - I wrote one plugin that archives external links in the Internet Archive & WebCitation, and another link which adds interwiki syntax to markdown, eg. '[Plato](!Wikipedia)' or '[abstruse](!Wiktionary)' or '[scanl](!Hoogle)' or '[gitit](!Hackage)'.