Skip to content

Allow [[ ... ]] and [% ... %] to be used instead of {{ ... }} and {% ... %}#54

Open
michaelblight wants to merge 3 commits intothomasloven:masterfrom
michaelblight:master
Open

Allow [[ ... ]] and [% ... %] to be used instead of {{ ... }} and {% ... %}#54
michaelblight wants to merge 3 commits intothomasloven:masterfrom
michaelblight:master

Conversation

@michaelblight
Copy link

I found it was a mess trying to intermingle lovelace-gen Jinja and Home Assistant Jinja. This allows you to specify an alternative so both can co-exist without having to use {% raw %}.

I also put in an FAQ about how to avoid some of the errors that occur in VS Code. There may be a better way, but making lovelace-gen code a "comment" seems to work easily enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant