You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{% paginate article.comments by 5 %}
{% for comment in article.comments %}
{{ comment.author }}
{% endfor %}
{% endpaginate %}
I'm trying to add this pagination for comments, but as soon as i add the word comment inside {% %} the next lines of the code are gray as if they where commented, and not highlighted anymore (picture below)
Thanks in advance
The text was updated successfully, but these errors were encountered:
I'm unable to recreate this.
Seems like conflicting grammar, Do you have another Liquid extension installed? Below is that structure replicated across multiple themes, all seem to highlight correctly.
{% paginate article.comments by 5 %}
{% for comment in article.comments %}
{{ comment.author }}
{% endfor %}
{% endpaginate %}
I'm trying to add this pagination for comments, but as soon as i add the word comment inside {% %} the next lines of the code are gray as if they where commented, and not highlighted anymore (picture below)
Thanks in advance
The text was updated successfully, but these errors were encountered: