• Login
Community
  • Login

Liquid file formatting

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
2 Posts 2 Posters 6.6k 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.
  • R
    Rick Davey
    last edited by Jul 19, 2015, 10:18 PM

    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
      Ricardo
      last edited by Ricardo Jul 20, 2015, 3:53 AM Jul 20, 2015, 3:53 AM

      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
      1 out of 2
      • First post
        1/2
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors