Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down