Discussion Locked

How to define comment syntax for a language

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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 Ezzee 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.

Moderator Note: URL removed as spam filter doesn't like it.

1 reply

by rproffitt

My google foo failed here so I need more. Give me a pointer to where this plugin came from and what editor you plugged it into.

I've worked in some hundred computer languages over decades and usually can help but here I'm guessing.

This discussion is closed to new replies.