diff --git a/README.md b/README.md index 9ddb35c..6882fa6 100644 --- a/README.md +++ b/README.md @@ -56,13 +56,13 @@ the rendered content. ```gwirl

@name

@pkg.SomeFunction(var1)

-@GwirlRaw(userContent) +@!userContent ``` Use an arbitrary Go expression (simple expressions only) and that content will -be escaped appropriately and rendered as a string directly into the content -using the `Stringer` interface. Use the `@GwirlRaw` function to render content -as-is with no escaping. +be rendered as a string directly into the content using the `Stringer` +interface. Use the `@!` syntax to render content with escaping that is +appropriate to the content's filetype. ### Imports