-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Text Template System #407
Comments
We should check https://github.com/toddams/RazorLight and https://github.com/mirsaeedi/Mailzory |
Something like https://github.com/andrewdavey/postal would also be ideal. It does HTML and Text very easily using Razor syntax. It has not had any work on it for some time though unfortunately even though it was promised andrewdavey/postal#172 (comment) |
If its specif for email you should look at: |
I thought it as generic, but will look for mjml too. Thanks. |
This is implemented for email sending (#1141) using this library: https://github.com/lunet-io/scriban I keep this issue open. We may generalize it to provide a more generic text templating feature. |
@hikalkan how does scriban specifically deal with email templating? I don't see how it deals with plain text vs HTML templating etc.? |
hi @natiki Scriban is an engine that processes text templates. So it can handle all the text of html, md, etc. At the same time scriban is also a very active project, compatibility is also very good. If you have other equally powerful text template engine class libraries, you can also replace it. |
I've created a simple email template system to send localized emails with placeholders replaced by values on the runtime.
We can create a general-purpose templating system that can be integrated to templating existing libraries and play well with the Virtual File System and Localization features of ABP framework.
The text was updated successfully, but these errors were encountered: