We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm writing some email templates and require both plaintext and html versions.
Using templ for the html is wonderful 🥰
but I have to use the Go stdlib template for the plaintext which is... well it's not templ.
Any chance this could be supported? or a hacky way to make it work?
The text was updated successfully, but these errors were encountered:
Does this answer?
#385 (comment)
Sorry, something went wrong.
I do like the idea of plain text, since it might be useful for building complex terminal apps.
Thanks for your responses! The comment you linked looks like it'll do the trick!
I think there could be a lot of opportunity with plain text support. It'd be pretty cool if templ could work with some of the charm libraries.
That said, I also respect the "do one thing super well" aspect:
Enable Go developers to build strongly typed, component-based HTML user interfaces with first-class developer tooling, and a short learning curve.
No branches or pull requests
I'm writing some email templates and require both plaintext and html versions.
Using templ for the html is wonderful 🥰
but I have to use the Go stdlib template for the plaintext which is... well it's not templ.
Any chance this could be supported? or a hacky way to make it work?
The text was updated successfully, but these errors were encountered: