adding example code to helpers
This commit is contained in:
parent
b19c906572
commit
4bb3f6fe5f
|
@ -83,6 +83,7 @@
|
|||
<div class="binding__description">
|
||||
{@html helper.description || ''}
|
||||
</div>
|
||||
<pre>{helper.example}</pre>
|
||||
</div>
|
||||
{/each}
|
||||
</div>
|
||||
|
|
|
@ -103,6 +103,7 @@
|
|||
<div class="description">
|
||||
{@html helper.description}
|
||||
</div>
|
||||
<pre>{helper.example}</pre>
|
||||
</div>
|
||||
</li>
|
||||
{/each}
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue