1
0
Fork 0
mirror of synced 2024-06-29 11:31:06 +12:00

adding example code to helpers

This commit is contained in:
Martin McKeaveney 2021-02-02 17:43:01 +00:00
parent 711ab8a070
commit e78b9c31c3
3 changed files with 3 additions and 0 deletions

View file

@ -83,6 +83,7 @@
<div class="binding__description">
{@html helper.description || ''}
</div>
<pre>{helper.example}</pre>
</div>
{/each}
</div>

View file

@ -103,6 +103,7 @@
<div class="description">
{@html helper.description}
</div>
<pre>{helper.example}</pre>
</div>
</li>
{/each}

View file

@ -7,6 +7,7 @@ export function handlebarsCompletions() {
Object.entries(manifest[key]).map(([helperName, helperConfig]) => ({
text: helperName,
path: helperName,
example: helperConfig.example,
label: helperName,
displayText: helperName,
description: helperConfig.description,