Last active
March 30, 2017 12:14
-
-
Save yunusga/ba15dafeec49054329ee to your computer and use it in GitHub Desktop.
Sublime, Atom snippets for BEML
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[ | |
| <${1:div} block="${2:block}" mod="${3:mod}">${4:content}</${1:div}><!-- b:${2:block} --> | |
| ]]></content> | |
| <tabTrigger>block</tabTrigger> | |
| </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[ | |
| <${1:div} elem="${2:elem}" mod="${3:mod}">${4:content}</${1:div}><!-- e:${2:elem} --> | |
| ]]></content> | |
| <tabTrigger>elem</tabTrigger> | |
| </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
| '.text.html, .text.html.handlebars, .text.html.hbs': | |
| 'BEML block HTML or Handlebars': | |
| 'prefix': 'block' | |
| 'body': """ | |
| <${1:div} block="${2:block}" mod="${3:mod}">${4:content}</${1:div}><!-- b:${2:block} --> | |
| """ | |
| 'BEML elem HTML or Handlebars': | |
| 'prefix': 'elem' | |
| 'body': '<${1:div} elem="${2:elem}" mod="${3:mod}">${4:content}</${1:div}><!-- e:${2:elem} -->' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment