Stencil Template Engine Root

Stencil is a delightful template language with a concise syntax and advanced capabilities. It is written in Java and has an easy and advanced API that makes integrating it into any environment a breeze.

License

License

GroupId

GroupId

com.impossibl.stencil
ArtifactId

ArtifactId

root
Last Version

Last Version

0.0.2
Release Date

Release Date

Type

Type

pom
Description

Description

Stencil Template Engine Root
Stencil is a delightful template language with a concise syntax and advanced capabilities. It is written in Java and has an easy and advanced API that makes integrating it into any environment a breeze.
Project URL

Project URL

http://impossibl.github.io/stencil/
Project Organization

Project Organization

Impossibl.com
Source Code Management

Source Code Management

https://github.com/impossibl/stencil

Download root

Filename Size
root-0.0.2.pom 1 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/com.impossibl.stencil/root/ -->
<dependency>
    <groupId>com.impossibl.stencil</groupId>
    <artifactId>root</artifactId>
    <version>0.0.2</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.impossibl.stencil/root/
implementation 'com.impossibl.stencil:root:0.0.2'
// https://jarcasting.com/artifacts/com.impossibl.stencil/root/
implementation ("com.impossibl.stencil:root:0.0.2")
'com.impossibl.stencil:root:pom:0.0.2'
<dependency org="com.impossibl.stencil" name="root" rev="0.0.2">
  <artifact name="root" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.impossibl.stencil', module='root', version='0.0.2')
)
libraryDependencies += "com.impossibl.stencil" % "root" % "0.0.2"
[com.impossibl.stencil/root "0.0.2"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • engine
  • engine-cdi
  • engine-servlet

stencil

Template engine designed with first class support for layouts and macros with easy passing of text blocks.

Features

  • Syntax - Stencil features a compact syntax that uses a single character ('$') to inctroduce dynamic regions.
  • Blocks - Passing around blocks of text is at the cornerstone of the Stencil language. Block syntax allows the succinct creation and passing of blocks of text to macros and included templates.
  • Macros - Stencil has advanced support for creating macros that accept both parameters and blocks.
  • Layouts - Layout support is built into the heart of Stencil and based on the block passing syntax. It allows fast & easy creation of layouts of unlimited quantity.
  • Functions - Stencil allows the simple creation of functions that execute it's simple expression language.
  • Expression - Advanced expressions that have support for all classical statements like loops and conditions, as well as complex literals like like maps and list, along with advanced operators like elvis and safe-navigation that make simplify template writing.

Versions

Version
0.0.2
0.0.1