Skip to content

Instantly share code, notes, and snippets.

@floster
Created September 5, 2017 07:37
Show Gist options
  • Save floster/dba95ad40b20cafac8494762b4d3c166 to your computer and use it in GitHub Desktop.
Save floster/dba95ad40b20cafac8494762b4d3c166 to your computer and use it in GitHub Desktop.
tag_with_comment
<snippet>
<content><![CDATA[
<div class="$1"> <!-- begin $1 -->
$2
</div> <!-- end $1 -->
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>dc</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