Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

The "comment" keyword in the code makes the next code color the same as the actual comment color. #109

Closed
MubeenMurj opened this issue Jan 6, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@MubeenMurj
Copy link

The code color becomes the same as the actual comment's code color after using the "comment" keyword.

image

@charlespwd charlespwd added the bug Something isn't working label Jan 6, 2023
@charlespwd
Copy link
Contributor

This seems to come from a conflict with a different plugin because I'm not getting this.

Image

You'll see it also doesn't do it in GitHub (which uses the same syntax highlighting grammar):

<div>
  {% comment %}
    this is a comment
  {% endcomment %}

  <p>lorem ipsum</p>
  {% assign comment = 10 %}
  <p>{{ comment }}</p>
</div>

@haroldao
Copy link

@MubeenMurj you may have the Liquid extension called "Liquid" by Panoply installed 👀 ...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants