# Sublime text snippets for Core dna This a library of useful snippets created for integrating and building for Core dna ## To Install ### Option 1: Package Control On Mac press Cmd+Shift+P or on PC press Ctrl+Shift+P. Then type 'Install' then press enter to see a list of packages. Search for 'Core dna snippets' then press enter to install. ### Option 2: Manual Clone this repo into your sublime text packages directory git clone https://github.com/bwiredagency/core_dna_snippets.git Directories can be found here **nix:** `/home//.config/sublime-text-3/Packages/User/` **Windows:** `C:/Users//AppData/Roaming/Sublime Text 3/Packages/User` ## How to Use While you have a html document open type the snippet you would like to use for example assign and the press tab, the resulting code will echo ``` <{assign var=variable_name value=value }> ``` You can cycle through variables by pressing tab again. To view a full list of all the available snippets press ctrl+shift+p and type in Core dna