This site provides the following access keys:

Brandan Lennox's

Perch.tmbundle

A TextMate Bundle for Perch CMS

Download

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 to perch_content()
  • percht — Template tag for a text field
  • perchb — Template tag for a text block
  • perchi — Template tag for an image
  • perchiiHTML <img> tag with src and alt attributes created as appropriate template tags
  • perchf — Template tag for a file upload
  • perchffHTML <a> tag with href attribute and inner HTML created as appropriate template tags
  • perchs — Template tag for a <select> element
  • perchd — Template tag for a date selector
  • percho — 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.