How to insert literal "{{string}}" in a template file? #3870
Answered
by
twpayne
unikitty37
asked this question in
Q&A
-
I'm trying to add a config file for lazygit, which also uses the Go template format. I want to insert this:
if
fails, obviously. But escaping the The Go text template docs don't say how to do it. I've checked StackOverflow and the solutions I've found there don't work either. Please could the solution be added to the documentation? chezmoi isn't the only program to use Go templates, and not everyone is a Go developer :) |
Beta Was this translation helpful? Give feedback.
Answered by
twpayne
Jul 16, 2024
Replies: 2 comments 4 replies
-
Use
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
unikitty37
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use