29d56fa204
* New prefix and suffix attributes to create prepended and appended form fields * Refactoring of code and title components. Documentation of code and title components. * corrections --------- Co-authored-by: Olivier Auverlot <oauv@duck.com>
8 lines
397 B
Handlebars
8 lines
397 B
Handlebars
<div class="code-component my-1 {{class}}" {{#if id}}id="{{id}}"{{/if}}>
|
|
{{#each_row}}
|
|
{{#if title}}<h2>{{title}}</h2>{{/if}}
|
|
{{#if description}}<p>{{description}}</p>{{else}}{{#if description_md}}{{{markdown description_md}}}{{/if}}{{/if}}
|
|
<pre class="mb-0"><code {{#if language}}class="language-{{language}}"{{/if}}>{{contents}}</code></pre>
|
|
{{/each_row}}
|
|
</div>
|