1
0
mirror of https://github.com/drewcassidy/dotfiles synced 2024-09-01 18:24:06 +00:00

Add snippets

This commit is contained in:
2017-12-28 15:55:32 -08:00
parent 4cc1d4a2aa
commit 15f5f75a46
2 changed files with 27 additions and 3 deletions

View File

@ -19,3 +19,20 @@
# If you are unfamiliar with CSON, you can read more about it in the
# Atom Flight Manual:
# http://flight-manual.atom.io/using-atom/sections/basic-customization/#_cson
'.source.gfm':
'Image':
'prefix': 'image'
'body': """
{% include figure-image.html
src="$1"
alt="$2" %}
"""
'.source.gfm':
'Image Gallery':
'prefix': 'gallery'
'body': """
{% include figure-gallery.html
src="$1"
alt="$2" %}
"""