Community
    • Login

    Liquid file formatting

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 7.4k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Rick DaveyR Offline
      Rick Davey
      last edited by

      In Shopify the files: fielname.liquid are mostly HTMl with some extras added. I would like to have HTML coloring , etc for this file type.

      Can I find a way to create a new language type without having to duplicate everything that is in the HTML construct. I would like to clone and modify but I cannot find the HTML file to copy.

      1 Reply Last reply Reply Quote 0
      • R Offline
        Ricardo
        last edited by Ricardo

        Yes, it would be hard to create a new User Defined Language…
        For using existing HTML highlight, you can add the liquid extension to langs.xml file in the Language name="html" part and you can add some more keywords inside <Keywords name="instre1"> so these are highlighted.

        Some reading for creating a new User Defined Language:
        http://docs.notepad-plus-plus.org/index.php/User_Defined_Languages
        http://docs.notepad-plus-plus.org/index.php/User_Defined_Language_Files
        http://superuser.com/questions/160925/adding-a-new-language-to-notepad
        http://stackoverflow.com/questions/12574121/adding-a-user-defined-language-in-notepad
        http://weblogs.asp.net/jongalloway/creating-a-user-defined-language-in-notepad

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors