emberjs/website — pull request #196 by dgeb (2012-12-17 19:20:54+00:00)
Title: Uses custom handlebars syntax highlighter for coderay

I've created a simple handlebars scanner for coderay:
https://github.com/rubychan/coderay/pull/103

This pull request brings this custom branch into the ember site to sharpen up our code snippets. Here's a before / after shot:

![without_handlebars_highlighting](https://f.cloud.github.com/assets/29122/17552/1d2b374a-487d-11e2-8290-8d2d6a69c5ee.png)
![with_handlebars_highlighting](https://f.cloud.github.com/assets/29122/17553/209af00a-487d-11e2-93e8-d5b65aea00d8.png)

It's not a terribly elaborate scanner, in that I didn't attempt to separate handlebars / ember specific keywords, but it does highlight comments, attribute names and values, double and triple staches, operators like `=`, etc.

By the way, we may want to include a new flag png for `handlebars` instead of reusing the `html` flag for template code. This will allow us to be more deliberate about snippets that are pure html vs those that include templates.