3 ms·
It is very convenient when you need to generate YAML via text template which unfortunately appears to be something that our industry has decided is reasonable.
by kevincox 5y ago
It is very convenient when you need to generate YAML via text template which unfortunately appears to be something that our industry has decided is reasonable. You can do {{ someval | toJson }} and have reliable escaping. Way better than "{{ someval }}" or {{ someval | toJson | indent 13 }}