R2C TextMate Bundle - Div .class


/ Published in: HTML
Save to your folder(s)

Matthew's local shortcut for this is: command+2


Copy this code and paste it in your HTML
  1. //This snippet is custom made for use in a TextMate Bundle.
  2. //To appropriately use it, create a TextMate Bundle out of it.
  3. //After that you can assign it it's own shortcuts / key equivalents.
  4.  
  5. <div${1: class="${2:name}"}>
  6. ${0:$TM_SELECTED_TEXT}
  7. </div><!-- end ${2:name} -->

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.