SrTemplate
Mr. strings template is a library that allows you to render just text templates.
Links
Features
- Super fast
- Efficient
- Renders variables of all types
- Function system
- Easy implementation of custom functions
- Minimum possible dependencies
- Feature-based implementations, use only what you need
- Using the same variables renders multiple times
Basic example
[!NOTE] See more examples here
use SrTemplate;
[!NOTE] For more information about the functions implemented by default or how to use the library in depth, see the wiki
TODO's
- I would like to change the way custom functions are implemented.
- Macros to create custom functions
- Better add_variable function to make more easy and performance managing Cow