diff --git a/src/components/ResultItemVault.svelte b/src/components/ResultItemVault.svelte index 90bbc10..72f38b4 100644 --- a/src/components/ResultItemVault.svelte +++ b/src/components/ResultItemVault.svelte @@ -17,15 +17,17 @@ $: title = settings.showShortName ? note.basename : note.path - - {@html title.replace(reg, highlighter)} - +
+ + {@html title.replace(reg, highlighter)} + - {#if matches.length > 0} + {#if matches.length > 0} {matches.length} {matches.length > 1 ? "matches" : "match"} - {/if} + {/if} +
{@html cleanedContent.replace(reg, highlighter)}