mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-12 23:40:45 -07:00
Edited extend example to show the actual output of redcloth
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user