Liquid file formatting
-
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.
-
Yes, it would be hard to create a new User Defined Language…
For using existing HTML highlight, you can add theliquid
extension tolangs.xml
file in theLanguage 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