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

Other use cases besides static site generators? #963

Open
TomzBench opened this issue Mar 14, 2025 · 2 comments
Open

Other use cases besides static site generators? #963

TomzBench opened this issue Mar 14, 2025 · 2 comments

Comments

@TomzBench
Copy link

TomzBench commented Mar 14, 2025

I notice all the rust template libraries seem to target generating HTML and static site generators. But I am wondering if there are any users of this library for code generation? IE: generating C code? I'm sure its possible but im wondering how popular this use case is? If so, perhaps the docs can expand the examples to include other use cases besides site generation.

It might also be the case that this library is not appropriate for anything but static site generating use cases, in which case tera can then make that more clear. For example, some of the "built in" filters, assume HTML markup (linebreakbr, striptags, etc)

(I would have preferred to open up a discussion but that feature is not enabled!)

@Keats
Copy link
Owner

Keats commented Mar 14, 2025

I use it in https://github.com/Keats/kickstart as well where you can template everything pretty much, including filenames

@TomzBench
Copy link
Author

very cool. The built in HTML stuff kind of triggers me a bit when i was evaluation libraries so I had to ask! Perhaps a showcase section or something can alleviate some pet peeves from OCD types like myself! :)

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

No branches or pull requests

2 participants