Renderer.prototype.start >= 2.0.0

Purpose

Start a new block and grab the output

Flags

Command
This method is a template command and can be used without `this.`

Syntax

Renderer#start ( Stringblock_nameObjectoptions );

Parameters

block_name
options

Examples

Create a new block

In order to store some content into a block (which can then be assigned later) you can do this:

<% start('my-block') %>
    Some content
<% end('my-block') %>