How to define comment syntax for a language

Discussion in 'General Technical' started by penelopesamuel33711, Sep 4, 2021.

  1. penelopesamuel33711

    penelopesamuel33711

    Joined:
    Sep 4, 2021
    Messages:
    1
    Likes Received:
    0
    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.
     
    penelopesamuel33711, Sep 4, 2021
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.