diff --git a/snippets/actionscript.snippets b/snippets/actionscript.snippets index f77a334..999b8a3 100644 --- a/snippets/actionscript.snippets +++ b/snippets/actionscript.snippets @@ -133,3 +133,25 @@ snippet fun { ${4:/* code */} } +# FlxSprite (usefull when using the flixel library) +snippet FlxSprite + package + { + import org.flixel.* + + public class ${1:ClassName} extends ${2:FlxSprite} + { + public function $1(${3: X:Number, Y:Number}):void + { + super(X,Y); + ${4: //code...} + } + + override public function update():void + { + super.update(); + ${5: //code...} + } + } + } + diff --git a/snippets/textile.snippets b/snippets/textile.snippets new file mode 100644 index 0000000..c78d6ec --- /dev/null +++ b/snippets/textile.snippets @@ -0,0 +1,30 @@ +# Jekyll post header +snippet header + --- + title: ${1:title} + layout: post + date: ${2:date} ${3:hour:minute:second} -05:00 + --- + +# Image +snippet img + !${1:url}(${2:title}):${3:link}! + +# Table +snippet | + |${1}|${2} + +# Link +snippet link + "${1:link text}":${2:url} + +# Acronym +snippet ( + (${1:Expand acronym})${2} + +# Footnote +snippet fn + [${1:ref number}] ${3} + + fn$1. ${2:footnote} +