[TxMt] list (ul/ol) HTML snippet question
minimal.design
work at minimaldesign.net
Fri Sep 9 17:54:33 UTC 2005
I was trying to figure out how I could write a snippet that would
wrap a bunch of lines into a HTML list... lets say you got this text:
item 01
item 02
item 03
then the snippet would output:
<ul>
<li>item 01</li>
<li>item 02</li>
<li>item 03</li>
</ul>
I'm kinda stuck on how to get the recursive thing to adapt to the
number of list items... Any thoughts? Thanks! :)
.........................................
m i n i m a l d e s i g n
244 Fifth Avenue - Suite P233
New York, NY 10001-7604
USA
tel / fax: 212.931.8525
email: work at minimaldesign.net
site: http://minimaldesign.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20050909/f13d8f81/attachment.html>
More information about the textmate
mailing list