Last active
August 29, 2015 14:22
-
-
Save richardbuff/ca05441197668ae28b68 to your computer and use it in GitHub Desktop.
Sublime Snippets For PHP echo of HTML opening and closing tags
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
// Save as: php-echo-open-html.sublime-snippet | |
<snippet> | |
<content><![CDATA[ | |
echo '<${1:div} ${2:class}="${3:value}">'; | |
]]></content> | |
<description>PHP echo statement with opening html tag with class</description> | |
<tabTrigger>phpechohtmlopen</tabTrigger> | |
<scope>source.php.embedded.block.html</scope> | |
</snippet> | |
// Save as: php-echo-close-html.sublime-snippet | |
<snippet> | |
<content><![CDATA[ | |
echo '</${1:div}> <!-- ${2:.}${3:div} -->'; | |
]]></content> | |
<description>PHP echo statement with closing html tag and comment</description> | |
<tabTrigger>phpechohtmlclose</tabTrigger> | |
<scope>source.php.embedded.block.html</scope> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment