<dependency>
<groupId>org.snippetory</groupId>
<artifactId>snippetory-core</artifactId>
<version>4.2.1</version>
</dependency>
html
<html>
<head>
<title>{title}</title>
</head>
<body>
<h1>{heading}</h1>
<p>{content}</p>
</body>
</html>
import org.snippetory.Template;
public class TemplateExample {
public static void main(String[] args) {
Template template = Template.load("template.html");
System.out.println(template.toString());
}
}