[TxMt] HTML autoconversion of urls to hyperlinks
Allan Odgaard
throw-away-1 at macromates.com
Wed Sep 5 00:32:36 UTC 2007
On Sep 4, 2007, at 4:09 AM, Jon Ippolito wrote:
> [...] it would be more useful for me to have a macro that would
> auto-convert all urls in a text document to active hyperlinks [...]
>
> I could write this macro as a RegExp global replace, but I was
> thinking someone
> else may have already scripted it. If you know of a pre-existing
> macro, please
> let me know.
Are you familiar with Markdown? Perhaps it would be more effective
for you to write the first draft of your text in Markdown and press
⌃⇧H to generate the HTML -- Markdown will convert <http://
macromates.com/> into
<a href="http://macromates.com/">http://macromates.com/</a>
More information about the textmate
mailing list