Return to Snippet

Revision: 43592
at March 27, 2011 09:39 by tmmyy


Initial Code
${TM_COMMENT_START/\s*$/ /}
 // =${1/(.)|(?m:\n.*)/(?1:=)/g}= \\\\
||   ${1/(.)|(?m:\n.*)/(?1: )/g}   ||
||   ${1:${TM_SELECTED_TEXT:Banner}}   ||
||   ${1/(.)|(?m:\n.*)/(?1: )/g}   ||
 \\\\ =${1/(.)|(?m:\n.*)/(?1:=)/g}= //
${TM_COMMENT_END/\s*(.+)/$1/}

Initial URL


Initial Description
Banner style found in HTML5 boilerplate.
Copy and paste this in Bundle Editor and add a hotkey for it.

    /* 
     // ================================== \\
    ||                                      ||
    ||   HTML5 Boilerplate Comment Banner   ||
    ||                                      ||
     \\ ================================== //
    */

Initial Title
TextMate HTML5 comment style banner

Initial Tags
textmate

Initial Language
Other