Created
May 22, 2016 10:16
-
-
Save alexandershustik/b83557c27772c7348228ac0b5da00fd2 to your computer and use it in GitHub Desktop.
html-seccomment.sublime-snippet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
<!-- begin $1 --> | |
<section class="$1"> | |
$2 | |
</section> | |
<!-- end $1 --> | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>sec</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<scope>text.html</scope> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Этот снипет, делает тоже самое что и https://gist.github.com/akella/9757676, только для секции
Вводим sec+tab
Результат
!Внимание: сохраняем в папку снипетов pacages/user, строго под именем html-seccomment.sublime-snippet (почему незнаю)