Edited extend example to show the actual output of redcloth

robwierzbowski
2013-03-25 19:44:27 -07:00
parent d51fa68b67
commit 4f25523a4d
+1 -1
@@ -40,7 +40,7 @@ end
```ruby
@template = Liquid::Template.parse(" {{ '*hi*' | textilize }} ")
@template.render({}, :filters => [TextFilter]) # => "<b>hi</b>"
@template.render({}, :filters => [TextFilter]) # => "<strong>hi</strong>"
```
Alternatively, you can register your filters globally: