In NotepadQQ, I would like to add G-code and PLC (FBD, LD, ST, IL and SFC) programing language definitions/syntax code highlighting. Is this possible for a user to do this? How is it done? I found a post about how to add a language https://github.com/notepadqq/notepadqq/issues/164 but it is a bit beyond my knowledge base. Here is the gist of the post:
It's not possible to migrate XMLs from Notepad++ to Notepadqq. They're completely different formats. The best way is to write it from scratch.
This is the CodeMirror documentation for writing modes (aka syntax highlighters)
And this is an example of a syntax highlighter for makefiles written by a Notepadqq contributor
It seems some knowledge of a formating language is needed to create such a makefile. And I don't see how to implement it into notepadqq on my computer.