Highlight multiple words in search result snippet
This commit is contained in:
parent
83c1acedd8
commit
0afe124c68
3 changed files with 59 additions and 16 deletions
6
ts/util/search.ts
Normal file
6
ts/util/search.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
// Copyright 2023 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
export const SNIPPET_LEFT_PLACEHOLDER = '<<left>>';
|
||||
export const SNIPPET_RIGHT_PLACEHOLDER = '<<right>>';
|
||||
export const SNIPPET_TRUNCATION_PLACEHOLDER = '<<truncation>>';
|
Loading…
Add table
Add a link
Reference in a new issue