marko-tag-body
Installation
npm install marko-tag-body --save
Usage
Hello World
template;
Output:
Hello World My body content
A renderBody()
function is passed as part of the input to the template:
template;
Then the output would be the following:
Hello World My body content
If the value of the tag-body
is left blank then it will default to data.renderBody
:
Hello World
template;
Output:
Hello World My body content