---------- Forwarded message ----------
From: Brad Choate bchoate@gmail.com To: TextMate users < textmate@lists.macromates.com> Date: Thu, 18 May 2006 18:35:48 -0700 Subject: Re: [TxMt] unordered list nav snippet Here's my entry:
As requested, it outputs the text wrapped in <a> tags. As a bonus, it outputs as a snippet, so you can tab through the href attributes to populate them.
There doesn't appear to be anything here Brad, unless I'm missing something?
On 19-May-06, at 06:24, Dave Foy wrote:
There doesn't appear to be anything here Brad, unless I'm missing something?
Yep, you're missing something. It came through fine for me (Mail.app) Check your 'image settings'.
Carpe viam, Mike
Michael Larocque Chief Cook and Bottle Washer Prolumina Communications Inc. http://prolumina.com/~mlarocque/
The list strips out the attachments. I didn't get it either.
Eric Coleman
On May 19, 2006, at 8:34 AM, Michael Larocque wrote:
On 19-May-06, at 06:24, Dave Foy wrote:
There doesn't appear to be anything here Brad, unless I'm missing something?
Yep, you're missing something. It came through fine for me (Mail.app) Check your 'image settings'.
Carpe viam, Mike
Michael Larocque Chief Cook and Bottle Washer Prolumina Communications Inc. http://prolumina.com/~mlarocque/
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
I sent a screenshot of the command settings. Here's the text version, which is much easier to copy and paste!
Save: Nothing
Command(s): echo "<ul>" perl -pe 's/([$`\])/\$1/g; s!(.+)!<li><a href="\${$.}">$1</a></li>!' echo echo "</ul>"
Input: Selected Text or Document
Output: Insert as Snippet
-Brad
On May 19, 2006, at 5:24 AM, Dave Foy wrote:
---------- Forwarded message ---------- From: Brad Choate < bchoate@gmail.com> To: TextMate users < textmate@lists.macromates.com> Date: Thu, 18 May 2006 18:35:48 -0700 Subject: Re: [TxMt] unordered list nav snippet Here's my entry:
As requested, it outputs the text wrapped in <a> tags. As a bonus, it outputs as a snippet, so you can tab through the href attributes to populate them.
There doesn't appear to be anything here Brad, unless I'm missing something?
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate