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.
On May 18, 2006, at 5:32 PM, Dave Foy wrote:
I'm having trouble creating a custom snippet that, for me, would be really useful.
I want to set up a snippet to create an unordered list nav from a plain text list, e.g.
foo bar coo tar
I'd like to highlight the whole list, hit a key combo, which would wrap each list item in <li>, wrap the whole lot in <ul>, and even wrap the text within each list item in <a href=""></a> for good measure.
Can anyone help?
Many thanks in advance.
For new threads USE THIS: firstname.lastname@example.org (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate