Posted by: Clark
« on: April 24, 2020, 10:58:47 PM »Not sure I follow what you mean. Do you mean Jinja comment or Jinja Code. The Jinja comment doesn't have a different background color at the moment. The Jinja Code (not comments) has a different background color but still identifies things like keywords and other things. I think this looks better. I tried it without changing the background color and it didn't look good. There's actually a complete "Jinja" language color coding profile defined so it can be referenced as an embedded language for any other language.
For v25, I added a "Jinja Settings..." button to the color coding dialog. It lets you configure a number of Jinja settings. See attached screen shot. YAML color coding can't really handle much Jinja configuration changes. You can add the "Line statement prefix: #" and "Line comment prefix: ##". Anything else is a crap shoot. These Jinja settings are also provided for all other languages. Adding this to HTML should be very useful.
For v25, I added a "Jinja Settings..." button to the color coding dialog. It lets you configure a number of Jinja settings. See attached screen shot. YAML color coding can't really handle much Jinja configuration changes. You can add the "Line statement prefix: #" and "Line comment prefix: ##". Anything else is a crap shoot. These Jinja settings are also provided for all other languages. Adding this to HTML should be very useful.