Community
    • Login

    Liquid file formatting

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 6.4k Views
    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
      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
      • RicardoR
        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
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors