How to define comment syntax for a language

Question

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 Anchor Fonts 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
, , , penelope337 3 weeks 0 Answers 19 views Starting Member 0

About penelope337Starting Member

Leave an answer

Browse
Browse