Question

How to define comment syntax for a language

  • 12 October 2021
  • 0 replies
  • 19 views

I’m having a difficult time finding a way to change the comment syntax for a Liquid file. Right now with the Liquid plugin installed when I CMD+/ I get a normal html comment like <!-- --> when I’m really expecting a Liquid comment like {% comment %} {% endcomment %} . I’ve been searching for how to define the beginning and end of a comment for a language and different font styles from Fonts Bee but haven’t been able to find it in the documentation.

 

Ideally it would be nice to have single line and multiline selections formatted differently. If it’s possible to completely override the default HTML comments then I would do that since I only program in Liquid and never .html.


0 replies

Join the Community or User Group to Participate in this Discussion

Reply