snippets-from-gist
An awesome snippets management package for Atom.io. You can manage all your snippets on Github as Gist and pull to your Atom.io environment. Keep it update with your Gist. Happy coding!!
History
Originally, all the custom snippets are grouped to a single file called snippets.cson in Atom. Thus, it is too difficult to manage and share between multiple computers or workspaces. Now, you can manipulate your snippets on GitHub as Gist and pull to your Atom environment on demand. Let keep snippets up to date for all Atom workspaces as you concerned.
Installation + Use
- Install the Atom package
apm install snippets-from-gist
- Locate to the package setting and type your gist repository like this (Remember to press -Enter- after edit)
https://gist.github.com/ssmak/607432b1d66401428a7bcf5be316f705
- Pull the snippets from your Gist
# Use the hot key Ctrl+Alt+x
OR
# From the Packages menu -> Snippets From Gist -> Pull
- Reload the workspace Use the hot key Ctrl-Shift-F5
Test
New a page and try your snippets. By the way, your can also view your snippets from File -> Snippets
Define & Use your own snippet
Please refer to this Gist example https://gist.github.com/ssmak/607432b1d66401428a7bcf5be316f705
License
MIT