[README] Syntax highlight

This commit is contained in:
Kyle Fuller
2015-10-22 09:49:26 -07:00
parent 16da9ac034
commit 62f6016e94

View File

@@ -114,7 +114,7 @@ For example, `Stencil` to `stencil`.
#### Registering custom filters #### Registering custom filters
``` ```swift
template.parser.registerFilter("double") { value in template.parser.registerFilter("double") { value in
if let value = value as? Int { if let value = value as? Int {
return value * 2 return value * 2