Markdown links in TextMate: The Final Frontier  OK, let’s hope
this is my final posting on making Markdown reference links in
TextMate. When we last left our intrepid hero, I had refined my
command/snippet/macro system to automate the numbering of the
references, while still allowing the references to be overridden
by, say, words or abbreviations.  The problem with that system
in real-world use is that it assumes that I know I’m going to
make a link as I’m typing along. For example, if I am writing
about wombats and want to insert a link, I have to know, a
priori, that a certain word or phrase is going to be a link and
invoke the macro just as I get to that point in the text.
Unfortunately, I often find myself typing along without any
links and then deciding later which words and phrases should be
links. So I also need a system that allows me to selected a
string of text and turn that into a reference link.  My new
command/snippet/macro combination does just that. It consists of
two commands and a macro. The