Perch.tmbundle
A TextMate Bundle for Perch CMS
If you’re using the Perch content management system and TextMate, dig my bundle for Perch.
Grammar and snippets
The grammar is nothing spectacular, but it handles syntax highlighting within HTML templates. These are the snippets:
perch
— Call toperch_content()
percht
— Template tag for a text fieldperchb
— Template tag for a text blockperchi
— Template tag for an imageperchii
— HTML<img>
tag withsrc
andalt
attributes created as appropriate template tagsperchf
— Template tag for a file uploadperchff
— HTML<a>
tag withhref
attribute and inner HTML created as appropriate template tagsperchs
— Template tag for a<select>
elementperchd
— Template tag for a date selectorpercho
— Template tag for a text field meant to be used with ordering in Perch 1.2
Download and installation
Download the latest zip archive or clone the Git repo. Either way, installation instructions are on GitHub.