Jacky Zhao
2024-01-31 22de92f6c46fd8aae3e803faaea734f28277cfae
quartz/components/scripts/search.inline.ts
@@ -20,8 +20,8 @@
let searchType: SearchType = "basic"
const contextWindowWords = 30
const numSearchResults = 5
const numTagResults = 3
const numSearchResults = 8
const numTagResults = 5
function highlight(searchTerm: string, text: string, trim?: boolean) {
  // try to highlight longest tokens first
  const tokenizedTerms = searchTerm