Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code commented after adding word comment #173

Open
hhhhaaarry opened this issue Oct 10, 2023 · 1 comment
Open

Code commented after adding word comment #173

hhhhaaarry opened this issue Oct 10, 2023 · 1 comment

Comments

@hhhhaaarry
Copy link

{% 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

Captura de pantalla 2023-10-10 a las 14 18 35

@panoply
Copy link
Owner

panoply commented Oct 10, 2023

Hey @hhhhaaarry,

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.

Screen.Recording.2023-10-10.at.17.24.05.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants