vertx / io.vertx.ext.web.templ / PebbleTemplateEngine

# PebbleTemplateEngine

`interface PebbleTemplateEngine : TemplateEngine`

A template engine that uses the Pebble library.

Author
Dan Kristensen

### Properties

DEFAULT_MAX_CACHE_SIZE | `static val DEFAULT_MAX_CACHE_SIZE: Int` Default max number of templates to cache
DEFAULT_TEMPLATE_EXTENSION | `static val DEFAULT_TEMPLATE_EXTENSION: String` Default template extension

### Functions

create | `open static fun create(vertx: Vertx): PebbleTemplateEngine` Create a template engine using defaults `open static fun create(engine: PebbleEngine): PebbleTemplateEngine` Create a template engine using a custom Builder, e.g. if you want use custom Filters or Functions.
setExtension | `abstract fun setExtension(extension: String): PebbleTemplateEngine` Set the extension for the engine
setMaxCacheSize | `abstract fun setMaxCacheSize(maxCacheSize: Int): PebbleTemplateEngine` Set the max cache size for the engine