Author Topic: YAML and Jinja  (Read 251 times)

garion911

  • Senior Community Member
  • Posts: 195
  • Hero Points: 13
YAML and Jinja
« on: August 14, 2020, 12:53:09 am »
So I'm testing the YAML with Jinja enabled. It works pretty good so far, although I've found one thing:

If you have a Jinja variable in the middle of a string, it won't color it. It'll be the same color as the string. If you start with the jinja variable, it'll color it properly.

Code: [Select]
test:                                           
    - something: {{ works }}/blah/blah/blah     
    - somethingelse: /blah/{{ doesntwork }}/blah/blah

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5749
  • Hero Points: 459
Re: YAML and Jinja
« Reply #1 on: August 14, 2020, 01:35:36 am »
Thanks for posting.  I'll see if we can fix this case.


Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5749
  • Hero Points: 459
Re: YAML and Jinja
« Reply #2 on: August 14, 2020, 05:07:37 pm »
Added support for this case to beta 3