Trying Svelte, displaying the number of matches
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { CachedMetadata } from 'obsidian'
|
||||
import type { CachedMetadata } from 'obsidian'
|
||||
import {
|
||||
isSearchMatch,
|
||||
regexLineSplit,
|
||||
regexWikilink,
|
||||
regexYaml,
|
||||
SearchMatch,
|
||||
} from './globals'
|
||||
import type { SearchMatch } from './globals'
|
||||
|
||||
export function highlighter(str: string): string {
|
||||
return '<span class="search-result-file-matched-text">' + str + '</span>'
|
||||
|
||||
Reference in New Issue
Block a user