Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: format user template in hello example #1885

Merged
merged 1 commit into from
Oct 21, 2023

Conversation

tenstad
Copy link
Contributor

@tenstad tenstad commented Oct 19, 2023

Correctly formats the example and makes it equal to the other one:

$ echo 'Hello, {{ .Env.USER }}' | gomplate

@hairyhenderson
Copy link
Owner

Correctly formats the example and makes it equal

can you clarify what's more "correct" about the new format? and, what do you mean by "equal"?

@tenstad
Copy link
Contributor Author

tenstad commented Oct 20, 2023

Correctly formats the example and makes it equal

can you clarify what's more "correct" about the new format? and, what do you mean by "equal"?

It is now equal to the other (referenced) hello user example. And I would say it is "more correct" in that it now follows the convention of having padding within the brackets, which is in line with the rest of the documentation.

@hairyhenderson
Copy link
Owner

Ah - apologies, I didn't realize the reference was from a separate file! Thanks for this.

@hairyhenderson hairyhenderson enabled auto-merge (squash) October 21, 2023 17:00
@hairyhenderson hairyhenderson merged commit e9971d0 into hairyhenderson:main Oct 21, 2023
10 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants