The Template Engine Library is an open-source project that provides a versatile and customizable template engine for various applications. This library allows developers to easily integrate dynamic content generation into their projects by using templates with placeholders that are replaced with actual data during runtime.
For detailed information on how to use the Template Engine Library, check out our full documentation ( which still does not exist 😊).
To use Implement Jstgo Template Engine in your Java project, follow these simple steps:
Configure the following in your build.gradle
dependencies {
implementation 'net.jstgo.repo:template-engine:0.1.0'
}
Configure the following in your pom.xml
<dependencies>
<dependency>
<groupId>net.jstgo.repo</groupId>
<artifactId>template-engine</artifactId>
<version>0.1.0</version>
</dependency>
</dependencies>
Simple example of how to use.
public class Main {
public static void main(String[] args) {
var engine = new TemplateEngine();
var template = engine.processTemplate("5 + 6 = {{ 5 + 6 }}");
System.out.println(template.getOutput());
}
}
We welcome contributions from the community! To get involved:
- Fork the repository and create a new branch.
- Make your enhancements or bug fixes.
- Submit a pull request with a clear description of your changes.
- Please read our Contribution Guidelines for more details.
This project is licensed under the MIT License - see the LICENSE file for details.