diff --git a/README.md b/README.md index e88a052..f099e4b 100644 --- a/README.md +++ b/README.md @@ -114,7 +114,7 @@ For example, `Stencil` to `stencil`. #### Registering custom filters -``` +```swift template.parser.registerFilter("double") { value in if let value = value as? Int { return value * 2