Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save alexandershustik/b83557c27772c7348228ac0b5da00fd2 to your computer and use it in GitHub Desktop.
Save alexandershustik/b83557c27772c7348228ac0b5da00fd2 to your computer and use it in GitHub Desktop.
html-seccomment.sublime-snippet
<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>
@alexandershustik
Copy link
Author

Этот снипет, делает тоже самое что и https://gist.github.com/akella/9757676, только для секции

Вводим sec+tab
Результат

!Внимание: сохраняем в папку снипетов pacages/user, строго под именем html-seccomment.sublime-snippet (почему незнаю)

@abztrakte
Copy link

Спасибо!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment