# Class: PebbleTemplateEngine

## vertx-web-js/pebble_template_engine~ PebbleTemplateEngine

#### new PebbleTemplateEngine()

A template engine that uses the Pebble library.

Source:
  - vertx-web-js/pebble_template_engine.js, line 31

### Methods

#### setExtension(extension) → {PebbleTemplateEngine}

Set the extension for the engine

##### Parameters:

Name | Type | Description
--- | --- | ---
`extension` | string | the extension

Source:
  - vertx-web-js/pebble_template_engine.js, line 44

##### Returns:

a reference to this for fluency

Type
  PebbleTemplateEngine

#### setMaxCacheSize(maxCacheSize) → {PebbleTemplateEngine}

Set the max cache size for the engine

##### Parameters:

Name | Type | Description
--- | --- | ---
`maxCacheSize` | number | the maxCacheSize

Source:
  - vertx-web-js/pebble_template_engine.js, line 58

##### Returns:

a reference to this for fluency

Type
  PebbleTemplateEngine