diff --git a/README.md b/README.md index 9dc79c6..8400f5f 100644 --- a/README.md +++ b/README.md @@ -216,6 +216,12 @@ In ERB templates, you can use the following comment format: <%# locals: () %> ``` +In slim templates, the comment format looks like this: + +``` +//# locals: () +``` + In string templates, it is a little ackward, but still possible (note that the closing `}` goes on a separate line: