Search example programs
{#if results.length}
Showing {results.length} results
{/if}
This interface allows you to search the text of example programs. This can be useful if you are
trying to identify the presence of a certain feature.
{
// searchKey = e.target.value;
history.pushState({}, null, `#/search/${e.target.value}`);
triggerUpdate();
}}
/>
{#each filter as badge}
{
filter = filterFilterForNewBadge(filter, badge);
}}
/>
{/each}
{
filter = filterFilterForNewBadge(filter, x).concat(x);
}}
/>
{#each results as { lang, fileName, fileContent }}
{#each getSubsections(fileContent, searchKey) as subsection}
{/each}
{/each}