mardi 2 février 2016

Displaying handlebars code on screen in a hbs template

I was wondering if there is a way to render handlebars code on the screen in a handlebars template something like this:

<code>
  {{#mx-tab id="basic-usage" value="Basic usage"}}
    {{#mx-tabs selectedTab="tab1" class="tab-margin"}}
        {{#mx-tab id="tab1" value="Tab 1"}}Tab content 1{{/mx-tab}}
        {{#mx-tab id="tab2" value="Tab 2"}}Tab content 2{{/mx-tab}}
        {{#mx-tab id="tab3" value="Tab 3"}}Tab content 3{{/mx-tab}}
    {{/mx-tabs}}
  {{/mx-tab}}
</code>   




Aucun commentaire:

Enregistrer un commentaire