Merge pull request #2 from phmongeau/master
Textile snippets and an acitonscript snippet
This commit is contained in:
commit
6a91f93061
@ -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...}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
30
snippets/textile.snippets
Normal file
30
snippets/textile.snippets
Normal file
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user