[TxMt] list (ul/ol) HTML snippet question

Adam Stacoviak adam at image202.com
Wed Oct 11 23:25:07 UTC 2006

How could we alter this.

${TM_SELECTED_TEXT/.+/		<li>$0<\/li>/g}

...to add a class option to the li tag, but only every other instance  
of the li tag? Thanks Sune for setting up this snippet, it saves me a  
ton of time when creating ul/ol lists!!!!

Adam Stacoviak
Image202 Entertainment
houston. 713.4291456
toronto. 416.9075496
fax. 713.4562013

More information about the textmate mailing list